home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 22.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 33 3a 30 31 20 31 | 39 39 38 0a 3b 3b 3b 20 |:53:01 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 61 63 6b |s-20.3/l|isp/pack|
|000000a0| 61 67 65 73 2f 69 73 77 | 69 74 63 68 62 2e 65 6c |ages/isw|itchb.el|
|000000b0| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|000000c0| 6f 6e 20 32 30 2e 34 20 | 22 45 6d 65 72 61 6c 64 |on 20.4 |"Emerald|
|000000d0| 22 20 58 45 6d 61 63 73 | 20 20 4c 75 63 69 64 2e |" XEmacs| Lucid.|
|000000e0| 0a 3b 3b 3b 20 62 79 74 | 65 63 6f 6d 70 20 76 65 |.;;; byt|ecomp ve|
|000000f0| 72 73 69 6f 6e 20 32 2e | 32 35 20 58 45 6d 61 63 |rsion 2.|25 XEmac|
|00000100| 73 3b 20 32 32 2d 4d 61 | 72 2d 39 36 2e 0a 3b 3b |s; 22-Ma|r-96..;;|
|00000110| 3b 20 6f 70 74 69 6d 69 | 7a 61 74 69 6f 6e 20 69 |; optimi|zation i|
|00000120| 73 20 6f 6e 2e 0a 3b 3b | 3b 20 74 68 69 73 20 66 |s on..;;|; this f|
|00000130| 69 6c 65 20 75 73 65 73 | 20 6f 70 63 6f 64 65 73 |ile uses| opcodes|
|00000140| 20 77 68 69 63 68 20 64 | 6f 20 6e 6f 74 20 65 78 | which d|o not ex|
|00000150| 69 73 74 20 69 6e 20 45 | 6d 61 63 73 20 31 39 2e |ist in E|macs 19.|
|00000160| 0a 0a 28 69 66 20 28 61 | 6e 64 20 28 62 6f 75 6e |..(if (a|nd (boun|
|00000170| 64 70 20 27 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |dp 'emac|s-versio|
|00000180| 6e 29 0a 09 20 28 6f 72 | 20 28 61 6e 64 20 28 62 |n).. (or| (and (b|
|00000190| 6f 75 6e 64 70 20 27 65 | 70 6f 63 68 3a 3a 76 65 |oundp 'e|poch::ve|
|000001a0| 72 73 69 6f 6e 29 20 65 | 70 6f 63 68 3a 3a 76 65 |rsion) e|poch::ve|
|000001b0| 72 73 69 6f 6e 29 0a 09 | 20 20 20 20 20 28 73 74 |rsion)..| (st|
|000001c0| 72 69 6e 67 2d 6c 65 73 | 73 70 20 65 6d 61 63 73 |ring-les|sp emacs|
|000001d0| 2d 76 65 72 73 69 6f 6e | 20 22 32 30 22 29 29 29 |-version| "20")))|
|000001e0| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 60 69 73 |. (er|ror "`is|
|000001f0| 77 69 74 63 68 62 2e 65 | 6c 27 20 77 61 73 20 63 |witchb.e|l' was c|
|00000200| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|00000210| 73 20 32 30 22 29 29 0a | 0a 28 6f 72 20 28 62 6f |s 20")).|.(or (bo|
|00000220| 75 6e 64 70 20 27 63 75 | 72 72 65 6e 74 2d 6c 6f |undp 'cu|rrent-lo|
|00000230| 61 64 2d 6c 69 73 74 29 | 20 28 73 65 74 71 20 63 |ad-list)| (setq c|
|00000240| 75 72 72 65 6e 74 2d 6c | 6f 61 64 2d 6c 69 73 74 |urrent-l|oad-list|
|00000250| 20 6e 69 6c 29 29 0a 0a | 0a 28 62 79 74 65 2d 63 | nil))..|.(byte-c|
|00000260| 6f 64 65 20 22 c0 c1 c2 | 8f 88 c3 c4 21 ab 85 c5 |ode "...|....!...|
|00000270| c6 21 ac 88 c7 c8 4d 88 | c9 ca 4d 88 cb cc c0 cd |.!....M.|..M.....|
|00000280| ce cf d0 d1 d0 d2 26 09 | 87 22 20 5b 6e 69 6c 20 |......&.|." [nil |
|00000290| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 87 |(byte-co|de "..!.|
|000002a0| 22 20 5b 72 65 71 75 69 | 72 65 20 63 75 73 74 6f |" [requi|re custo|
|000002b0| 6d 5d 20 32 29 20 28 28 | 65 72 72 6f 72 29 29 20 |m] 2) ((|error)) |
|000002c0| 66 65 61 74 75 72 65 70 | 20 63 75 73 74 6f 6d 20 |featurep| custom |
|000002d0| 66 62 6f 75 6e 64 70 20 | 63 75 73 74 6f 6d 2d 64 |fboundp |custom-d|
|000002e0| 65 63 6c 61 72 65 2d 76 | 61 72 69 61 62 6c 65 20 |eclare-v|ariable |
|000002f0| 64 65 66 67 72 6f 75 70 | 20 28 6d 61 63 72 6f 20 |defgroup| (macro |
|00000300| 2e 20 23 5b 28 26 72 65 | 73 74 20 61 72 67 73 29 |. #[(&re|st args)|
|00000310| 20 22 c0 87 22 20 5b 6e | 69 6c 5d 20 31 5d 29 20 | ".." [n|il] 1]) |
|00000320| 64 65 66 63 75 73 74 6f | 6d 20 28 6d 61 63 72 6f |defcusto|m (macro|
|00000330| 20 2e 20 23 5b 28 76 61 | 72 20 76 61 6c 75 65 20 | . #[(va|r value |
|00000340| 64 6f 63 20 26 72 65 73 | 74 20 61 72 67 73 29 20 |doc &res|t args) |
|00000350| 22 c0 09 5c 6e 0b 46 87 | 22 20 5b 64 65 66 76 61 |"..\n.F.|" [defva|
|00000360| 72 20 76 61 72 20 76 61 | 6c 75 65 20 64 6f 63 5d |r var va|lue doc]|
|00000370| 20 34 5d 29 20 63 75 73 | 74 6f 6d 2d 64 65 63 6c | 4]) cus|tom-decl|
|00000380| 61 72 65 2d 67 72 6f 75 | 70 20 69 73 77 69 74 63 |are-grou|p iswitc|
|00000390| 68 62 20 22 73 77 69 74 | 63 68 20 62 65 74 77 65 |hb "swit|ch betwe|
|000003a0| 65 6e 20 62 75 66 66 65 | 72 73 20 75 73 69 6e 67 |en buffe|rs using|
|000003b0| 20 73 75 62 73 74 72 69 | 6e 67 73 2e 22 20 3a 67 | substri|ngs." :g|
|000003c0| 72 6f 75 70 20 65 78 74 | 65 6e 73 69 6f 6e 73 20 |roup ext|ensions |
|000003d0| 3a 6c 69 6e 6b 20 28 65 | 6d 61 63 73 2d 63 6f 6d |:link (e|macs-com|
|000003e0| 6d 65 6e 74 61 72 79 2d | 6c 69 6e 6b 20 3a 74 61 |mentary-|link :ta|
|000003f0| 67 20 22 43 6f 6d 6d 65 | 6e 74 61 72 79 22 20 22 |g "Comme|ntary" "|
|00000400| 69 73 77 69 74 63 68 62 | 2e 65 6c 22 29 20 28 65 |iswitchb|.el") (e|
|00000410| 6d 61 63 73 2d 6c 69 62 | 72 61 72 79 2d 6c 69 6e |macs-lib|rary-lin|
|00000420| 6b 20 3a 74 61 67 20 22 | 4c 69 73 70 20 46 69 6c |k :tag "|Lisp Fil|
|00000430| 65 22 20 22 69 73 77 69 | 74 63 68 62 2e 65 6c 22 |e" "iswi|tchb.el"|
|00000440| 29 5d 20 31 30 29 0a 28 | 63 75 73 74 6f 6d 2d 64 |)] 10).(|custom-d|
|00000450| 65 63 6c 61 72 65 2d 76 | 61 72 69 61 62 6c 65 20 |eclare-v|ariable |
|00000460| 27 69 73 77 69 74 63 68 | 62 2d 63 61 73 65 20 27 |'iswitch|b-case '|
|00000470| 63 61 73 65 2d 66 6f 6c | 64 2d 73 65 61 72 63 68 |case-fol|d-search|
|00000480| 20 22 2a 4e 6f 6e 2d 6e | 69 6c 20 69 66 20 73 65 | "*Non-n|il if se|
|00000490| 61 72 63 68 69 6e 67 20 | 6f 66 20 62 75 66 66 65 |arching |of buffe|
|000004a0| 72 20 6e 61 6d 65 73 20 | 73 68 6f 75 6c 64 20 69 |r names |should i|
|000004b0| 67 6e 6f 72 65 20 63 61 | 73 65 2e 22 20 3a 74 79 |gnore ca|se." :ty|
|000004c0| 70 65 20 27 62 6f 6f 6c | 65 61 6e 20 3a 67 72 6f |pe 'bool|ean :gro|
|000004d0| 75 70 20 27 69 73 77 69 | 74 63 68 62 29 0a 28 63 |up 'iswi|tchb).(c|
|000004e0| 75 73 74 6f 6d 2d 64 65 | 63 6c 61 72 65 2d 76 61 |ustom-de|clare-va|
|000004f0| 72 69 61 62 6c 65 20 27 | 69 73 77 69 74 63 68 62 |riable '|iswitchb|
|00000500| 2d 62 75 66 66 65 72 2d | 69 67 6e 6f 72 65 20 27 |-buffer-|ignore '|
|00000510| 27 28 22 5e 20 22 29 20 | 22 2a 4c 69 73 74 20 6f |'("^ ") |"*List o|
|00000520| 66 20 72 65 67 65 78 70 | 73 20 6f 72 20 66 75 6e |f regexp|s or fun|
|00000530| 63 74 69 6f 6e 73 20 6d | 61 74 63 68 69 6e 67 20 |ctions m|atching |
|00000540| 62 75 66 66 65 72 20 6e | 61 6d 65 73 20 74 6f 20 |buffer n|ames to |
|00000550| 69 67 6e 6f 72 65 2e 5c | 6e 46 6f 72 20 65 78 61 |ignore.\|nFor exa|
|00000560| 6d 70 6c 65 2c 20 74 72 | 61 64 69 74 69 6f 6e 61 |mple, tr|aditiona|
|00000570| 6c 20 62 65 68 61 76 69 | 6f 72 20 69 73 20 6e 6f |l behavi|or is no|
|00000580| 74 20 74 6f 20 6c 69 73 | 74 20 62 75 66 66 65 72 |t to lis|t buffer|
|00000590| 73 20 77 68 6f 73 65 20 | 6e 61 6d 65 73 20 62 65 |s whose |names be|
|000005a0| 67 69 6e 5c 6e 77 69 74 | 68 20 61 20 73 70 61 63 |gin\nwit|h a spac|
|000005b0| 65 2c 20 66 6f 72 20 77 | 68 69 63 68 20 74 68 65 |e, for w|hich the|
|000005c0| 20 72 65 67 65 78 70 20 | 69 73 20 60 5e 20 27 2e | regexp |is `^ '.|
|000005d0| 20 20 53 65 65 20 74 68 | 65 20 73 6f 75 72 63 65 | See th|e source|
|000005e0| 20 66 69 6c 65 20 66 6f | 72 5c 6e 65 78 61 6d 70 | file fo|r\nexamp|
|000005f0| 6c 65 20 66 75 6e 63 74 | 69 6f 6e 73 20 74 68 61 |le funct|ions tha|
|00000600| 74 20 66 69 6c 74 65 72 | 20 62 75 66 66 65 72 6e |t filter| buffern|
|00000610| 61 6d 65 73 2e 22 20 3a | 74 79 70 65 20 27 28 72 |ames." :|type '(r|
|00000620| 65 70 65 61 74 20 72 65 | 67 65 78 70 29 20 3a 67 |epeat re|gexp) :g|
|00000630| 72 6f 75 70 20 27 69 73 | 77 69 74 63 68 62 29 0a |roup 'is|witchb).|
|00000640| 28 63 75 73 74 6f 6d 2d | 64 65 63 6c 61 72 65 2d |(custom-|declare-|
|00000650| 76 61 72 69 61 62 6c 65 | 20 27 69 73 77 69 74 63 |variable| 'iswitc|
|00000660| 68 62 2d 64 65 66 61 75 | 6c 74 2d 6d 65 74 68 6f |hb-defau|lt-metho|
|00000670| 64 20 27 27 61 6c 77 61 | 79 73 2d 66 72 61 6d 65 |d ''alwa|ys-frame|
|00000680| 20 22 2a 48 6f 77 20 74 | 6f 20 73 77 69 74 63 68 | "*How t|o switch|
|00000690| 20 74 6f 20 6e 65 77 20 | 62 75 66 66 65 72 20 77 | to new |buffer w|
|000006a0| 68 65 6e 20 75 73 69 6e | 67 20 60 69 73 77 69 74 |hen usin|g `iswit|
|000006b0| 63 68 62 2d 62 75 66 66 | 65 72 27 2e 5c 6e 50 6f |chb-buff|er'.\nPo|
|000006c0| 73 73 69 62 6c 65 20 76 | 61 6c 75 65 73 3a 5c 6e |ssible v|alues:\n|
|000006d0| 60 73 61 6d 65 77 69 6e | 64 6f 77 27 09 53 68 6f |`samewin|dow'.Sho|
|000006e0| 77 20 6e 65 77 20 62 75 | 66 66 65 72 20 69 6e 20 |w new bu|ffer in |
|000006f0| 73 61 6d 65 20 77 69 6e | 64 6f 77 5c 6e 60 6f 74 |same win|dow\n`ot|
|00000700| 68 65 72 77 69 6e 64 6f | 77 27 09 53 68 6f 77 20 |herwindo|w'.Show |
|00000710| 6e 65 77 20 62 75 66 66 | 65 72 20 69 6e 20 61 6e |new buff|er in an|
|00000720| 6f 74 68 65 72 20 77 69 | 6e 64 6f 77 20 28 73 61 |other wi|ndow (sa|
|00000730| 6d 65 20 66 72 61 6d 65 | 29 5c 6e 60 64 69 73 70 |me frame|)\n`disp|
|00000740| 6c 61 79 27 09 44 69 73 | 70 6c 61 79 20 62 75 66 |lay'.Dis|play buf|
|00000750| 66 65 72 20 69 6e 20 61 | 6e 6f 74 68 65 72 20 77 |fer in a|nother w|
|00000760| 69 6e 64 6f 77 20 77 69 | 74 68 6f 75 74 20 73 77 |indow wi|thout sw|
|00000770| 69 74 63 68 69 6e 67 20 | 74 6f 20 69 74 5c 6e 60 |itching |to it\n`|
|00000780| 6f 74 68 65 72 66 72 61 | 6d 65 27 09 53 68 6f 77 |otherfra|me'.Show|
|00000790| 20 6e 65 77 20 62 75 66 | 66 65 72 20 69 6e 20 61 | new buf|fer in a|
|000007a0| 6e 6f 74 68 65 72 20 66 | 72 61 6d 65 5c 6e 60 6d |nother f|rame\n`m|
|000007b0| 61 79 62 65 2d 66 72 61 | 6d 65 27 09 49 66 20 61 |aybe-fra|me'.If a|
|000007c0| 20 62 75 66 66 65 72 20 | 69 73 20 76 69 73 69 62 | buffer |is visib|
|000007d0| 6c 65 20 69 6e 20 61 6e | 6f 74 68 65 72 20 66 72 |le in an|other fr|
|000007e0| 61 6d 65 2c 20 70 72 6f | 6d 70 74 20 74 6f 20 61 |ame, pro|mpt to a|
|000007f0| 73 6b 20 69 66 20 79 6f | 75 5c 6e 09 09 79 6f 75 |sk if yo|u\n..you|
|00000800| 20 77 61 6e 74 20 74 6f | 20 73 65 65 20 74 68 65 | want to| see the|
|00000810| 20 62 75 66 66 65 72 20 | 69 6e 20 74 68 65 20 73 | buffer |in the s|
|00000820| 61 6d 65 20 77 69 6e 64 | 6f 77 20 6f 66 20 74 68 |ame wind|ow of th|
|00000830| 65 20 63 75 72 72 65 6e | 74 5c 6e 20 20 09 09 66 |e curren|t\n ..f|
|00000840| 72 61 6d 65 20 6f 72 20 | 69 6e 20 74 68 65 20 6f |rame or |in the o|
|00000850| 74 68 65 72 20 66 72 61 | 6d 65 2e 5c 6e 60 61 6c |ther fra|me.\n`al|
|00000860| 77 61 79 73 2d 66 72 61 | 6d 65 27 20 20 20 49 66 |ways-fra|me' If|
|00000870| 20 61 20 62 75 66 66 65 | 72 20 69 73 20 76 69 73 | a buffe|r is vis|
|00000880| 69 62 6c 65 20 69 6e 20 | 61 6e 6f 74 68 65 72 20 |ible in |another |
|00000890| 66 72 61 6d 65 2c 20 72 | 61 69 73 65 20 74 68 61 |frame, r|aise tha|
|000008a0| 74 5c 6e 09 09 66 72 61 | 6d 65 2e 20 20 4f 74 68 |t\n..fra|me. Oth|
|000008b0| 65 72 77 69 73 65 2c 20 | 76 69 73 69 74 20 74 68 |erwise, |visit th|
|000008c0| 65 20 62 75 66 66 65 72 | 20 69 6e 20 74 68 65 20 |e buffer| in the |
|000008d0| 73 61 6d 65 20 77 69 6e | 64 6f 77 2e 22 20 3a 74 |same win|dow." :t|
|000008e0| 79 70 65 20 27 28 63 68 | 6f 69 63 65 20 28 63 6f |ype '(ch|oice (co|
|000008f0| 6e 73 74 20 3a 74 61 67 | 20 22 73 61 6d 65 77 69 |nst :tag| "samewi|
|00000900| 6e 64 6f 77 22 20 73 61 | 6d 65 77 69 6e 64 6f 77 |ndow" sa|mewindow|
|00000910| 29 20 28 63 6f 6e 73 74 | 20 3a 74 61 67 20 22 6f |) (const| :tag "o|
|00000920| 74 68 65 72 77 69 6e 64 | 6f 77 22 20 6f 74 68 65 |therwind|ow" othe|
|00000930| 72 77 69 6e 64 6f 77 29 | 20 28 63 6f 6e 73 74 20 |rwindow)| (const |
|00000940| 3a 74 61 67 20 22 64 69 | 73 70 6c 61 79 22 20 64 |:tag "di|splay" d|
|00000950| 69 73 70 6c 61 79 29 20 | 28 63 6f 6e 73 74 20 3a |isplay) |(const :|
|00000960| 74 61 67 20 22 6f 74 68 | 65 72 66 72 61 6d 65 22 |tag "oth|erframe"|
|00000970| 20 6f 74 68 65 72 66 72 | 61 6d 65 29 20 28 63 6f | otherfr|ame) (co|
|00000980| 6e 73 74 20 3a 74 61 67 | 20 22 6d 61 79 62 65 2d |nst :tag| "maybe-|
|00000990| 66 72 61 6d 65 22 20 6d | 61 79 62 65 2d 66 72 61 |frame" m|aybe-fra|
|000009a0| 6d 65 29 20 28 63 6f 6e | 73 74 20 3a 74 61 67 20 |me) (con|st :tag |
|000009b0| 22 61 6c 77 61 79 73 2d | 66 72 61 6d 65 22 20 61 |"always-|frame" a|
|000009c0| 6c 77 61 79 73 2d 66 72 | 61 6d 65 29 29 20 3a 67 |lways-fr|ame)) :g|
|000009d0| 72 6f 75 70 20 27 69 73 | 77 69 74 63 68 62 29 0a |roup 'is|witchb).|
|000009e0| 28 63 75 73 74 6f 6d 2d | 64 65 63 6c 61 72 65 2d |(custom-|declare-|
|000009f0| 76 61 72 69 61 62 6c 65 | 20 27 69 73 77 69 74 63 |variable| 'iswitc|
|00000a00| 68 62 2d 72 65 67 65 78 | 70 20 27 6e 69 6c 20 22 |hb-regex|p 'nil "|
|00000a10| 2a 4e 6f 6e 2d 6e 69 6c | 20 6d 65 61 6e 73 20 74 |*Non-nil| means t|
|00000a20| 68 61 74 20 60 69 73 77 | 69 74 63 68 62 27 20 77 |hat `isw|itchb' w|
|00000a30| 69 6c 6c 20 64 6f 20 72 | 65 67 65 78 70 20 6d 61 |ill do r|egexp ma|
|00000a40| 74 63 68 69 6e 67 2e 5c | 6e 56 61 6c 75 65 20 63 |tching.\|nValue c|
|00000a50| 61 6e 20 62 65 20 74 6f | 67 67 6c 65 64 20 77 69 |an be to|ggled wi|
|00000a60| 74 68 69 6e 20 60 69 73 | 77 69 74 63 68 62 27 2e |thin `is|witchb'.|
|00000a70| 22 20 3a 74 79 70 65 20 | 27 62 6f 6f 6c 65 61 6e |" :type |'boolean|
|00000a80| 20 3a 67 72 6f 75 70 20 | 27 69 73 77 69 74 63 68 | :group |'iswitch|
|00000a90| 62 29 0a 28 63 75 73 74 | 6f 6d 2d 64 65 63 6c 61 |b).(cust|om-decla|
|00000aa0| 72 65 2d 76 61 72 69 61 | 62 6c 65 20 27 69 73 77 |re-varia|ble 'isw|
|00000ab0| 69 74 63 68 62 2d 6e 65 | 77 62 75 66 66 65 72 20 |itchb-ne|wbuffer |
|00000ac0| 27 74 20 22 2a 4e 6f 6e | 2d 6e 69 6c 20 6d 65 61 |'t "*Non|-nil mea|
|00000ad0| 6e 73 20 63 72 65 61 74 | 65 20 6e 65 77 20 62 75 |ns creat|e new bu|
|00000ae0| 66 66 65 72 20 69 66 20 | 6e 6f 20 62 75 66 66 65 |ffer if |no buffe|
|00000af0| 72 20 6d 61 74 63 68 65 | 73 20 73 75 62 73 74 72 |r matche|s substr|
|00000b00| 69 6e 67 2e 5c 6e 53 65 | 65 20 61 6c 73 6f 20 60 |ing.\nSe|e also `|
|00000b10| 69 73 77 69 74 63 68 62 | 2d 70 72 6f 6d 70 74 2d |iswitchb|-prompt-|
|00000b20| 6e 65 77 62 75 66 66 65 | 72 27 2e 22 20 3a 74 79 |newbuffe|r'." :ty|
|00000b30| 70 65 20 27 62 6f 6f 6c | 65 61 6e 20 3a 67 72 6f |pe 'bool|ean :gro|
|00000b40| 75 70 20 27 69 73 77 69 | 74 63 68 62 29 0a 28 63 |up 'iswi|tchb).(c|
|00000b50| 75 73 74 6f 6d 2d 64 65 | 63 6c 61 72 65 2d 76 61 |ustom-de|clare-va|
|00000b60| 72 69 61 62 6c 65 20 27 | 69 73 77 69 74 63 68 62 |riable '|iswitchb|
|00000b70| 2d 70 72 6f 6d 70 74 2d | 6e 65 77 62 75 66 66 65 |-prompt-|newbuffe|
|00000b80| 72 20 27 74 20 22 2a 4e | 6f 6e 2d 6e 69 6c 20 6d |r 't "*N|on-nil m|
|00000b90| 65 61 6e 73 20 70 72 6f | 6d 70 74 20 75 73 65 72 |eans pro|mpt user|
|00000ba0| 20 74 6f 20 63 6f 6e 66 | 69 72 6d 20 62 65 66 6f | to conf|irm befo|
|00000bb0| 72 65 20 63 72 65 61 74 | 69 6e 67 20 6e 65 77 20 |re creat|ing new |
|00000bc0| 62 75 66 66 65 72 2e 5c | 6e 53 65 65 20 61 6c 73 |buffer.\|nSee als|
|00000bd0| 6f 20 60 69 73 77 69 74 | 63 68 62 2d 6e 65 77 62 |o `iswit|chb-newb|
|00000be0| 75 66 66 65 72 27 2e 22 | 20 3a 74 79 70 65 20 27 |uffer'."| :type '|
|00000bf0| 62 6f 6f 6c 65 61 6e 20 | 3a 67 72 6f 75 70 20 27 |boolean |:group '|
|00000c00| 69 73 77 69 74 63 68 62 | 29 0a 28 63 75 73 74 6f |iswitchb|).(custo|
|00000c10| 6d 2d 64 65 63 6c 61 72 | 65 2d 76 61 72 69 61 62 |m-declar|e-variab|
|00000c20| 6c 65 20 27 69 73 77 69 | 74 63 68 62 2d 64 65 66 |le 'iswi|tchb-def|
|00000c30| 69 6e 65 2d 6d 6f 64 65 | 2d 6d 61 70 2d 68 6f 6f |ine-mode|-map-hoo|
|00000c40| 6b 20 27 6e 69 6c 20 22 | 2a 48 6f 6f 6b 20 74 6f |k 'nil "|*Hook to|
|00000c50| 20 64 65 66 69 6e 65 20 | 6b 65 79 73 20 69 6e 20 | define |keys in |
|00000c60| 60 69 73 77 69 74 63 68 | 62 2d 6d 6f 64 65 2d 6d |`iswitch|b-mode-m|
|00000c70| 61 70 27 20 66 6f 72 20 | 65 78 74 72 61 20 6b 65 |ap' for |extra ke|
|00000c80| 79 62 69 6e 64 69 6e 67 | 73 2e 22 20 3a 74 79 70 |ybinding|s." :typ|
|00000c90| 65 20 27 68 6f 6f 6b 20 | 3a 67 72 6f 75 70 20 27 |e 'hook |:group '|
|00000ca0| 69 73 77 69 74 63 68 62 | 29 0a 28 63 75 73 74 6f |iswitchb|).(custo|
|00000cb0| 6d 2d 64 65 63 6c 61 72 | 65 2d 76 61 72 69 61 62 |m-declar|e-variab|
|00000cc0| 6c 65 20 27 69 73 77 69 | 74 63 68 62 2d 75 73 65 |le 'iswi|tchb-use|
|00000cd0| 2d 66 6f 6e 74 73 20 27 | 74 20 22 2a 4e 6f 6e 2d |-fonts '|t "*Non-|
|00000ce0| 6e 69 6c 20 6d 65 61 6e | 73 20 75 73 65 20 66 6f |nil mean|s use fo|
|00000cf0| 6e 74 73 20 66 6f 72 20 | 73 68 6f 77 69 6e 67 20 |nts for |showing |
|00000d00| 66 69 72 73 74 20 6d 61 | 74 63 68 2e 22 20 3a 74 |first ma|tch." :t|
|00000d10| 79 70 65 20 27 62 6f 6f | 6c 65 61 6e 20 3a 67 72 |ype 'boo|lean :gr|
|00000d20| 6f 75 70 20 27 69 73 77 | 69 74 63 68 62 29 0a 28 |oup 'isw|itchb).(|
|00000d30| 63 75 73 74 6f 6d 2d 64 | 65 63 6c 61 72 65 2d 76 |custom-d|eclare-v|
|00000d40| 61 72 69 61 62 6c 65 20 | 27 69 73 77 69 74 63 68 |ariable |'iswitch|
|00000d50| 62 2d 6d 61 6b 65 2d 62 | 75 66 6c 69 73 74 2d 68 |b-make-b|uflist-h|
|00000d60| 6f 6f 6b 20 27 6e 69 6c | 20 22 2a 48 6f 6f 6b 20 |ook 'nil| "*Hook |
|00000d70| 74 6f 20 72 75 6e 20 77 | 68 65 6e 20 6c 69 73 74 |to run w|hen list|
|00000d80| 20 6f 66 20 6d 61 74 63 | 68 69 6e 67 20 62 75 66 | of matc|hing buf|
|00000d90| 66 65 72 73 20 69 73 20 | 63 72 65 61 74 65 64 2e |fers is |created.|
|00000da0| 22 20 3a 74 79 70 65 20 | 27 68 6f 6f 6b 20 3a 67 |" :type |'hook :g|
|00000db0| 72 6f 75 70 20 27 69 73 | 77 69 74 63 68 62 29 0a |roup 'is|witchb).|
|00000dc0| 23 40 32 31 36 20 2a 53 | 74 6f 72 65 73 20 74 68 |#@216 *S|tores th|
|00000dd0| 65 20 6d 65 74 68 6f 64 | 20 66 6f 72 20 76 69 65 |e method| for vie|
|00000de0| 77 69 6e 67 20 74 68 65 | 20 73 65 6c 65 63 74 65 |wing the| selecte|
|00000df0| 64 20 62 75 66 66 65 72 | 2e 20 20 0a 49 74 73 20 |d buffer|. .Its |
|00000e00| 76 61 6c 75 65 20 69 73 | 20 6f 6e 65 20 6f 66 20 |value is| one of |
|00000e10| 60 73 61 6d 65 77 69 6e | 64 6f 77 27 2c 20 60 6f |`samewin|dow', `o|
|00000e20| 74 68 65 72 77 69 6e 64 | 6f 77 27 2c 20 60 64 69 |therwind|ow', `di|
|00000e30| 73 70 6c 61 79 27 2c 20 | 60 6f 74 68 65 72 66 72 |splay', |`otherfr|
|00000e40| 61 6d 65 27 2c 0a 60 6d | 61 79 62 65 2d 66 72 61 |ame',.`m|aybe-fra|
|00000e50| 6d 65 27 20 6f 72 20 60 | 61 6c 77 61 79 73 2d 66 |me' or `|always-f|
|00000e60| 72 61 6d 65 27 2e 20 20 | 53 65 65 20 60 69 73 77 |rame'. |See `isw|
|00000e70| 69 74 63 68 62 2d 64 65 | 66 61 75 6c 74 2d 6d 65 |itchb-de|fault-me|
|00000e80| 74 68 6f 64 27 20 66 6f | 72 0a 64 65 74 61 69 6c |thod' fo|r.detail|
|00000e90| 73 20 6f 66 20 76 61 6c | 75 65 73 2e 1f 0a 28 64 |s of val|ues...(d|
|00000ea0| 65 66 76 61 72 20 69 73 | 77 69 74 63 68 62 2d 6d |efvar is|witchb-m|
|00000eb0| 65 74 68 6f 64 20 6e 69 | 6c 20 28 23 24 20 2e 20 |ethod ni|l (#$ . |
|00000ec0| 2d 33 35 32 36 29 29 0a | 23 40 31 32 32 20 2a 41 |-3526)).|#@122 *A|
|00000ed0| 72 67 75 6d 65 6e 74 20 | 74 6f 20 70 61 73 73 20 |rgument |to pass |
|00000ee0| 74 6f 20 60 77 61 6c 6b | 2d 77 69 6e 64 6f 77 73 |to `walk|-windows|
|00000ef0| 27 20 77 68 65 6e 20 66 | 69 6e 64 69 6e 67 20 76 |' when f|inding v|
|00000f00| 69 73 69 62 6c 65 20 62 | 75 66 66 65 72 73 2e 0a |isible b|uffers..|
|00000f10| 53 65 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |See docu|mentatio|
|00000f20| 6e 20 6f 66 20 60 77 61 | 6c 6b 2d 77 69 6e 64 6f |n of `wa|lk-windo|
|00000f30| 77 73 27 20 66 6f 72 20 | 75 73 65 66 75 6c 20 76 |ws' for |useful v|
|00000f40| 61 6c 75 65 73 2e 1f 0a | 28 64 65 66 76 61 72 20 |alues...|(defvar |
|00000f50| 69 73 77 69 74 63 68 62 | 2d 61 6c 6c 2d 66 72 61 |iswitchb|-all-fra|
|00000f60| 6d 65 73 20 27 76 69 73 | 69 62 6c 65 20 28 23 24 |mes 'vis|ible (#$|
|00000f70| 20 2e 20 2d 33 37 39 30 | 29 29 0a 23 40 35 37 31 | . -3790|)).#@571|
|00000f80| 20 49 73 77 69 74 63 68 | 62 2d 73 70 65 63 69 66 | Iswitch|b-specif|
|00000f90| 69 63 20 63 75 73 74 6f | 6d 69 7a 61 74 69 6f 6e |ic custo|mization|
|00000fa0| 20 6f 66 20 6d 69 6e 69 | 62 75 66 66 65 72 20 73 | of mini|buffer s|
|00000fb0| 65 74 75 70 2e 0a 0a 54 | 68 69 73 20 68 6f 6f 6b |etup...T|his hook|
|00000fc0| 20 69 73 20 72 75 6e 20 | 64 75 72 69 6e 67 20 6d | is run |during m|
|00000fd0| 69 6e 69 62 75 66 66 65 | 72 20 73 65 74 75 70 20 |inibuffe|r setup |
|00000fe0| 69 66 66 20 60 69 73 77 | 69 74 63 68 62 27 20 77 |iff `isw|itchb' w|
|00000ff0| 69 6c 6c 20 62 65 20 61 | 63 74 69 76 65 2e 0a 49 |ill be a|ctive..I|
|00001000| 74 20 69 73 20 69 6e 74 | 65 6e 64 65 64 20 66 6f |t is int|ended fo|
|00001010| 72 20 75 73 65 20 69 6e | 20 63 75 73 74 6f 6d 69 |r use in| customi|
|00001020| 7a 69 6e 67 20 69 73 77 | 69 74 63 68 62 20 66 6f |zing isw|itchb fo|
|00001030| 72 20 69 6e 74 65 72 6f | 70 65 72 61 74 69 6f 6e |r intero|peration|
|00001040| 0a 77 69 74 68 20 6f 74 | 68 65 72 20 70 61 63 6b |.with ot|her pack|
|00001050| 61 67 65 73 2e 20 20 46 | 6f 72 20 69 6e 73 74 61 |ages. F|or insta|
|00001060| 6e 63 65 3a 0a 0a 20 20 | 28 61 64 64 2d 68 6f 6f |nce:.. |(add-hoo|
|00001070| 6b 20 27 69 73 77 69 74 | 63 68 62 2d 6d 69 6e 69 |k 'iswit|chb-mini|
|00001080| 62 75 66 66 65 72 2d 73 | 65 74 75 70 2d 68 6f 6f |buffer-s|etup-hoo|
|00001090| 6b 20 0a 09 20 20 20 20 | 28 66 75 6e 63 74 69 6f |k .. |(functio|
|000010a0| 6e 0a 09 20 20 20 20 20 | 28 6c 61 6d 62 64 61 20 |n.. |(lambda |
|000010b0| 28 29 0a 09 20 20 20 20 | 20 20 20 28 6d 61 6b 65 |().. | (make|
|000010c0| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 20 |-local-v|ariable |
|000010d0| 27 72 65 73 69 7a 65 2d | 6d 69 6e 69 62 75 66 66 |'resize-|minibuff|
|000010e0| 65 72 2d 77 69 6e 64 6f | 77 2d 6d 61 78 2d 68 65 |er-windo|w-max-he|
|000010f0| 69 67 68 74 29 0a 09 20 | 20 20 20 20 20 20 28 73 |ight).. | (s|
|00001100| 65 74 71 20 72 65 73 69 | 7a 65 2d 6d 69 6e 69 62 |etq resi|ze-minib|
|00001110| 75 66 66 65 72 2d 77 69 | 6e 64 6f 77 2d 6d 61 78 |uffer-wi|ndow-max|
|00001120| 2d 68 65 69 67 68 74 20 | 33 29 29 29 29 0a 0a 77 |-height |3))))..w|
|00001130| 69 6c 6c 20 63 6f 6e 73 | 74 72 61 69 6e 20 72 73 |ill cons|train rs|
|00001140| 7a 2d 6d 69 6e 69 20 74 | 6f 20 61 20 6d 61 78 69 |z-mini t|o a maxi|
|00001150| 6d 75 6d 20 6d 69 6e 69 | 62 75 66 66 65 72 20 68 |mum mini|buffer h|
|00001160| 65 69 67 68 74 20 6f 66 | 20 33 20 6c 69 6e 65 73 |eight of| 3 lines|
|00001170| 20 77 68 65 6e 0a 69 73 | 77 69 74 63 68 62 20 69 | when.is|witchb i|
|00001180| 73 20 72 75 6e 6e 69 6e | 67 2e 20 20 43 6f 70 69 |s runnin|g. Copi|
|00001190| 65 64 20 66 72 6f 6d 20 | 60 69 63 6f 6d 70 6c 65 |ed from |`icomple|
|000011a0| 74 65 2d 6d 69 6e 69 62 | 75 66 66 65 72 2d 73 65 |te-minib|uffer-se|
|000011b0| 74 75 70 2d 68 6f 6f 6b | 27 2e 1f 0a 28 64 65 66 |tup-hook|'...(def|
|000011c0| 76 61 72 20 69 73 77 69 | 74 63 68 62 2d 6d 69 6e |var iswi|tchb-min|
|000011d0| 69 62 75 66 66 65 72 2d | 73 65 74 75 70 2d 68 6f |ibuffer-|setup-ho|
|000011e0| 6f 6b 20 6e 69 6c 20 28 | 23 24 20 2e 20 33 39 36 |ok nil (|#$ . 396|
|000011f0| 39 29 29 0a 23 40 39 36 | 20 50 6f 69 6e 74 20 77 |9)).#@96| Point w|
|00001200| 68 65 72 65 20 6d 69 6e | 69 62 75 66 66 65 72 20 |here min|ibuffer |
|00001210| 69 6e 70 75 74 20 65 6e | 64 73 20 61 6e 64 20 63 |input en|ds and c|
|00001220| 6f 6d 70 6c 65 74 69 6f | 6e 20 69 6e 66 6f 20 62 |ompletio|n info b|
|00001230| 65 67 69 6e 73 2e 0a 43 | 6f 70 69 65 64 20 66 72 |egins..C|opied fr|
|00001240| 6f 6d 20 60 69 63 6f 6d | 70 6c 65 74 65 2d 65 6f |om `icom|plete-eo|
|00001250| 69 6e 70 75 74 27 2e 1f | 0a 28 64 65 66 76 61 72 |input'..|.(defvar|
|00001260| 20 69 73 77 69 74 63 68 | 62 2d 65 6f 69 6e 70 75 | iswitch|b-eoinpu|
|00001270| 74 20 31 20 28 23 24 20 | 2e 20 34 36 30 31 29 29 |t 1 (#$ |. 4601))|
|00001280| 0a 28 6d 61 6b 65 2d 76 | 61 72 69 61 62 6c 65 2d |.(make-v|ariable-|
|00001290| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 20 27 69 73 |buffer-l|ocal 'is|
|000012a0| 77 69 74 63 68 62 2d 65 | 6f 69 6e 70 75 74 29 0a |witchb-e|oinput).|
|000012b0| 23 40 32 36 33 20 53 74 | 6f 72 65 73 20 74 68 65 |#@263 St|ores the|
|000012c0| 20 63 75 72 72 65 6e 74 | 20 6c 69 73 74 20 6f 66 | current| list of|
|000012d0| 20 62 75 66 66 65 72 73 | 20 74 68 61 74 20 77 69 | buffers| that wi|
|000012e0| 6c 6c 20 62 65 20 73 65 | 61 72 63 68 65 64 20 74 |ll be se|arched t|
|000012f0| 68 72 6f 75 67 68 2e 0a | 54 68 65 20 6c 69 73 74 |hrough..|The list|
|00001300| 20 69 73 20 6f 72 64 65 | 72 65 64 2c 20 73 6f 20 | is orde|red, so |
|00001310| 74 68 61 74 20 74 68 65 | 20 6d 6f 73 74 20 72 65 |that the| most re|
|00001320| 63 65 6e 74 20 62 75 66 | 66 65 72 73 20 63 6f 6d |cent buf|fers com|
|00001330| 65 20 66 69 72 73 74 2c | 0a 61 6c 74 68 6f 75 67 |e first,|.althoug|
|00001340| 68 20 62 79 20 64 65 66 | 61 75 6c 74 2c 20 74 68 |h by def|ault, th|
|00001350| 65 20 62 75 66 66 65 72 | 73 20 76 69 73 69 62 6c |e buffer|s visibl|
|00001360| 65 20 69 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |e in the| current|
|00001370| 20 66 72 61 6d 65 20 61 | 72 65 20 70 75 74 0a 61 | frame a|re put.a|
|00001380| 74 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |t the en|d of the|
|00001390| 20 6c 69 73 74 2e 20 20 | 43 72 65 61 74 65 64 20 | list. |Created |
|000013a0| 62 79 20 60 69 73 77 69 | 74 63 68 62 2d 6d 61 6b |by `iswi|tchb-mak|
|000013b0| 65 2d 62 75 66 6c 69 73 | 74 27 2e 1f 0a 28 64 65 |e-buflis|t'...(de|
|000013c0| 66 76 61 72 20 69 73 77 | 69 74 63 68 62 2d 62 75 |fvar isw|itchb-bu|
|000013d0| 66 6c 69 73 74 20 6e 69 | 6c 20 28 23 24 20 2e 20 |flist ni|l (#$ . |
|000013e0| 34 37 39 30 29 29 0a 23 | 40 31 36 35 20 4e 6f 6e |4790)).#|@165 Non|
|000013f0| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 75 73 65 20 60 |-nil mea|ns use `|
|00001400| 69 73 77 69 74 63 68 62 | 2d 62 75 66 66 65 72 27 |iswitchb|-buffer'|
|00001410| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 66 65 65 64 | complet|ion feed|
|00001420| 62 61 63 6b 2e 20 20 0a | 53 68 6f 75 6c 64 20 6f |back. .|Should o|
|00001430| 6e 6c 79 20 62 65 20 73 | 65 74 20 74 6f 20 74 20 |nly be s|et to t |
|00001440| 62 79 20 69 73 77 69 74 | 63 68 62 20 66 75 6e 63 |by iswit|chb func|
|00001450| 74 69 6f 6e 73 2c 20 73 | 6f 20 74 68 61 74 20 69 |tions, s|o that i|
|00001460| 74 20 64 6f 65 73 6e 27 | 74 0a 69 6e 74 65 72 66 |t doesn'|t.interf|
|00001470| 65 72 65 20 77 69 74 68 | 20 6f 74 68 65 72 20 6d |ere with| other m|
|00001480| 69 6e 69 62 75 66 66 65 | 72 20 75 73 61 67 65 2e |inibuffe|r usage.|
|00001490| 1f 0a 28 64 65 66 76 61 | 72 20 69 73 77 69 74 63 |..(defva|r iswitc|
|000014a0| 68 62 2d 75 73 65 2d 6d | 79 63 6f 6d 70 6c 65 74 |hb-use-m|ycomplet|
|000014b0| 69 6f 6e 20 6e 69 6c 20 | 28 23 24 20 2e 20 35 31 |ion nil |(#$ . 51|
|000014c0| 30 31 29 29 0a 23 40 36 | 32 20 50 72 69 76 61 74 |01)).#@6|2 Privat|
|000014d0| 65 20 76 61 72 69 61 62 | 6c 65 20 75 73 65 64 20 |e variab|le used |
|000014e0| 62 79 20 60 69 73 77 69 | 74 63 68 62 2d 77 6f 72 |by `iswi|tchb-wor|
|000014f0| 64 2d 6d 61 74 63 68 69 | 6e 67 2d 73 75 62 73 74 |d-matchi|ng-subst|
|00001500| 72 69 6e 67 27 2e 1f 0a | 28 64 65 66 76 61 72 20 |ring'...|(defvar |
|00001510| 69 73 77 69 74 63 68 62 | 2d 63 68 61 6e 67 65 2d |iswitchb|-change-|
|00001520| 77 6f 72 64 2d 73 75 62 | 20 6e 69 6c 20 28 23 24 |word-sub| nil (#$|
|00001530| 20 2e 20 35 33 32 32 29 | 29 0a 23 40 35 39 20 53 | . 5322)|).#@59 S|
|00001540| 74 6f 72 65 73 20 74 68 | 65 20 73 74 72 69 6e 67 |tores th|e string|
|00001550| 20 74 68 61 74 20 69 73 | 20 63 6f 6d 6d 6f 6e 20 | that is| common |
|00001560| 74 6f 20 61 6c 6c 20 6d | 61 74 63 68 69 6e 67 20 |to all m|atching |
|00001570| 62 75 66 66 65 72 73 2e | 1f 0a 28 64 65 66 76 61 |buffers.|..(defva|
|00001580| 72 20 69 73 77 69 74 63 | 68 62 2d 63 6f 6d 6d 6f |r iswitc|hb-commo|
|00001590| 6e 2d 6d 61 74 63 68 2d | 73 74 72 69 6e 67 20 6e |n-match-|string n|
|000015a0| 69 6c 20 28 23 24 20 2e | 20 35 34 33 39 29 29 0a |il (#$ .| 5439)).|
|000015b0| 23 40 36 37 20 4e 6f 6e | 2d 6e 69 6c 20 6d 65 61 |#@67 Non|-nil mea|
|000015c0| 6e 73 20 77 65 20 6e 65 | 65 64 20 74 6f 20 72 65 |ns we ne|ed to re|
|000015d0| 67 65 6e 65 72 61 74 65 | 20 74 68 65 20 6c 69 73 |generate| the lis|
|000015e0| 74 20 6f 66 20 6d 61 74 | 63 68 69 6e 67 20 62 75 |t of mat|ching bu|
|000015f0| 66 66 65 72 73 2e 1f 0a | 28 64 65 66 76 61 72 20 |ffers...|(defvar |
|00001600| 69 73 77 69 74 63 68 62 | 2d 72 65 73 63 61 6e 20 |iswitchb|-rescan |
|00001610| 6e 69 6c 20 28 23 24 20 | 2e 20 35 35 35 37 29 29 |nil (#$ |. 5557))|
|00001620| 0a 23 40 34 34 20 53 74 | 6f 72 65 73 20 74 68 65 |.#@44 St|ores the|
|00001630| 20 75 73 65 72 73 20 73 | 74 72 69 6e 67 20 61 73 | users s|tring as|
|00001640| 20 69 74 20 69 73 20 74 | 79 70 65 64 20 69 6e 2e | it is t|yped in.|
|00001650| 1f 0a 28 64 65 66 76 61 | 72 20 69 73 77 69 74 63 |..(defva|r iswitc|
|00001660| 68 62 2d 74 65 78 74 20 | 6e 69 6c 20 28 23 24 20 |hb-text |nil (#$ |
|00001670| 2e 20 35 36 37 30 29 29 | 0a 23 40 35 32 20 4c 69 |. 5670))|.#@52 Li|
|00001680| 73 74 20 6f 66 20 62 75 | 66 66 65 72 73 20 63 75 |st of bu|ffers cu|
|00001690| 72 72 65 6e 6c 79 20 6d | 61 74 63 68 69 6e 67 20 |rrenly m|atching |
|000016a0| 60 69 73 77 69 74 63 68 | 62 2d 74 65 78 74 27 2e |`iswitch|b-text'.|
|000016b0| 1f 0a 28 64 65 66 76 61 | 72 20 69 73 77 69 74 63 |..(defva|r iswitc|
|000016c0| 68 62 2d 6d 61 74 63 68 | 65 73 20 6e 69 6c 20 28 |hb-match|es nil (|
|000016d0| 23 24 20 2e 20 35 37 35 | 38 29 29 0a 23 40 33 31 |#$ . 575|8)).#@31|
|000016e0| 20 4b 65 79 6d 61 70 20 | 66 6f 72 20 60 69 73 77 | Keymap |for `isw|
|000016f0| 69 74 63 68 62 2d 62 75 | 66 66 65 72 27 2e 1f 0a |itchb-bu|ffer'...|
|00001700| 28 64 65 66 76 61 72 20 | 69 73 77 69 74 63 68 62 |(defvar |iswitchb|
|00001710| 2d 6d 6f 64 65 2d 6d 61 | 70 20 6e 69 6c 20 28 23 |-mode-ma|p nil (#|
|00001720| 24 20 2e 20 35 38 35 37 | 29 29 0a 23 40 35 34 20 |$ . 5857|)).#@54 |
|00001730| 48 69 73 74 6f 72 79 20 | 6f 66 20 62 75 66 66 65 |History |of buffe|
|00001740| 72 73 20 73 65 6c 65 63 | 74 65 64 20 75 73 69 6e |rs selec|ted usin|
|00001750| 67 20 60 69 73 77 69 74 | 63 68 62 2d 62 75 66 66 |g `iswit|chb-buff|
|00001760| 65 72 27 2e 1f 0a 28 64 | 65 66 76 61 72 20 69 73 |er'...(d|efvar is|
|00001770| 77 69 74 63 68 62 2d 68 | 69 73 74 6f 72 79 20 6e |witchb-h|istory n|
|00001780| 69 6c 20 28 23 24 20 2e | 20 35 39 33 36 29 29 0a |il (#$ .| 5936)).|
|00001790| 23 40 31 32 37 20 46 6c | 61 67 20 74 6f 20 6d 6f |#@127 Fl|ag to mo|
|000017a0| 6e 69 74 6f 72 20 68 6f | 77 20 60 69 73 77 69 74 |nitor ho|w `iswit|
|000017b0| 63 68 62 2d 62 75 66 66 | 65 72 27 20 65 78 69 74 |chb-buff|er' exit|
|000017c0| 73 2e 20 20 0a 49 66 20 | 65 71 75 61 6c 20 74 6f |s. .If |equal to|
|000017d0| 20 60 74 61 6b 65 70 72 | 6f 6d 70 74 27 2c 20 77 | `takepr|ompt', w|
|000017e0| 65 20 75 73 65 20 74 68 | 65 20 70 72 6f 6d 70 74 |e use th|e prompt|
|000017f0| 20 61 73 20 74 68 65 20 | 62 75 66 66 65 72 20 6e | as the |buffer n|
|00001800| 61 6d 65 20 74 6f 20 62 | 65 0a 73 65 6c 65 63 74 |ame to b|e.select|
|00001810| 65 64 2e 1f 0a 28 64 65 | 66 76 61 72 20 69 73 77 |ed...(de|fvar isw|
|00001820| 69 74 63 68 62 2d 65 78 | 69 74 20 6e 69 6c 20 28 |itchb-ex|it nil (|
|00001830| 23 24 20 2e 20 36 30 33 | 38 29 29 0a 23 40 35 32 |#$ . 603|8)).#@52|
|00001840| 20 53 74 6f 72 65 73 20 | 6f 72 69 67 69 6e 61 6c | Stores |original|
|00001850| 20 76 61 6c 75 65 20 6f | 66 20 60 69 73 77 69 74 | value o|f `iswit|
|00001860| 63 68 62 2d 62 75 66 66 | 65 72 2d 69 67 6e 6f 72 |chb-buff|er-ignor|
|00001870| 65 27 2e 1f 0a 28 64 65 | 66 76 61 72 20 69 73 77 |e'...(de|fvar isw|
|00001880| 69 74 63 68 62 2d 62 75 | 66 66 65 72 2d 69 67 6e |itchb-bu|ffer-ign|
|00001890| 6f 72 65 2d 6f 72 69 67 | 20 6e 69 6c 20 28 23 24 |ore-orig| nil (#$|
|000018a0| 20 2e 20 36 32 30 39 29 | 29 0a 23 40 37 36 20 4e | . 6209)|).#@76 N|
|000018b0| 6f 6e 2d 6e 69 6c 20 69 | 66 20 77 65 20 61 72 65 |on-nil i|f we are|
|000018c0| 20 72 75 6e 6e 69 6e 67 | 20 58 45 6d 61 63 73 2e | running| XEmacs.|
|000018d0| 20 20 4f 74 68 65 72 77 | 69 73 65 2c 20 61 73 73 | Otherw|ise, ass|
|000018e0| 75 6d 65 20 77 65 20 61 | 72 65 20 72 75 6e 6e 69 |ume we a|re runni|
|000018f0| 6e 67 20 45 6d 61 63 73 | 2e 1f 0a 28 64 65 66 76 |ng Emacs|...(defv|
|00001900| 61 72 20 69 73 77 69 74 | 63 68 62 2d 78 65 6d 61 |ar iswit|chb-xema|
|00001910| 63 73 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |cs (byte|-code ".|
|00001920| c1 c2 20 5c 22 87 22 20 | 5b 73 74 72 69 6e 67 2d |.. \"." |[string-|
|00001930| 6d 61 74 63 68 20 22 58 | 45 6d 61 63 73 22 20 65 |match "X|Emacs" e|
|00001940| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 5d 20 33 29 |macs-ver|sion] 3)|
|00001950| 20 28 23 24 20 2e 20 36 | 33 31 39 29 29 0a 23 40 | (#$ . 6|319)).#@|
|00001960| 34 32 20 53 65 74 20 75 | 70 20 74 68 65 20 6b 65 |42 Set u|p the ke|
|00001970| 79 6d 61 70 20 66 6f 72 | 20 60 69 73 77 69 74 63 |ymap for| `iswitc|
|00001980| 68 62 2d 62 75 66 66 65 | 72 27 2e 1f 0a 28 64 65 |hb-buffe|r'...(de|
|00001990| 66 61 6c 69 61 73 20 27 | 69 73 77 69 74 63 68 62 |falias '|iswitchb|
|000019a0| 2d 64 65 66 69 6e 65 2d | 6d 6f 64 65 2d 6d 61 70 |-define-|mode-map|
|000019b0| 20 23 5b 6e 69 6c 20 22 | c0 19 c2 0b 21 11 c4 09 | #[nil "|....!...|
|000019c0| c5 c6 23 88 c4 09 c7 c8 | 23 88 c4 09 c9 ca 23 88 |..#.....|#.....#.|
|000019d0| c4 09 cb cc 23 88 c4 09 | cd ce 23 88 c4 09 cf d0 |....#...|..#.....|
|000019e0| 23 88 c4 09 d1 d2 23 88 | c4 09 d3 d4 23 88 c4 09 |#.....#.|....#...|
|000019f0| d5 d6 23 88 09 16 17 d8 | d9 21 29 87 22 20 5b 6e |..#.....|.!)." [n|
|00001a00| 69 6c 20 6d 61 70 20 63 | 6f 70 79 2d 6b 65 79 6d |il map c|opy-keym|
|00001a10| 61 70 20 6d 69 6e 69 62 | 75 66 66 65 72 2d 6c 6f |ap minib|uffer-lo|
|00001a20| 63 61 6c 2d 6d 61 70 20 | 64 65 66 69 6e 65 2d 6b |cal-map |define-k|
|00001a30| 65 79 20 22 3f 22 20 69 | 73 77 69 74 63 68 62 2d |ey "?" i|switchb-|
|00001a40| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2d 68 65 6c 70 20 |completi|on-help |
|00001a50| 22 13 22 20 69 73 77 69 | 74 63 68 62 2d 6e 65 78 |"." iswi|tchb-nex|
|00001a60| 74 2d 6d 61 74 63 68 20 | 22 12 22 20 69 73 77 69 |t-match |"." iswi|
|00001a70| 74 63 68 62 2d 70 72 65 | 76 2d 6d 61 74 63 68 20 |tchb-pre|v-match |
|00001a80| 22 09 22 20 69 73 77 69 | 74 63 68 62 2d 63 6f 6d |"." iswi|tchb-com|
|00001a90| 70 6c 65 74 65 20 22 5c | 6e 22 20 69 73 77 69 74 |plete "\|n" iswit|
|00001aa0| 63 68 62 2d 73 65 6c 65 | 63 74 2d 62 75 66 66 65 |chb-sele|ct-buffe|
|00001ab0| 72 2d 74 65 78 74 20 22 | 14 22 20 69 73 77 69 74 |r-text "|." iswit|
|00001ac0| 63 68 62 2d 74 6f 67 67 | 6c 65 2d 72 65 67 65 78 |chb-togg|le-regex|
|00001ad0| 70 20 22 18 06 22 20 69 | 73 77 69 74 63 68 62 2d |p ".." i|switchb-|
|00001ae0| 66 69 6e 64 2d 66 69 6c | 65 20 22 03 22 20 69 73 |find-fil|e "." is|
|00001af0| 77 69 74 63 68 62 2d 74 | 6f 67 67 6c 65 2d 63 61 |witchb-t|oggle-ca|
|00001b00| 73 65 20 22 0b 22 20 69 | 73 77 69 74 63 68 62 2d |se "." i|switchb-|
|00001b10| 6b 69 6c 6c 2d 62 75 66 | 66 65 72 20 69 73 77 69 |kill-buf|fer iswi|
|00001b20| 74 63 68 62 2d 6d 6f 64 | 65 2d 6d 61 70 20 72 75 |tchb-mod|e-map ru|
|00001b30| 6e 2d 68 6f 6f 6b 73 20 | 69 73 77 69 74 63 68 62 |n-hooks |iswitchb|
|00001b40| 2d 64 65 66 69 6e 65 2d | 6d 6f 64 65 2d 6d 61 70 |-define-|mode-map|
|00001b50| 2d 68 6f 6f 6b 5d 20 34 | 20 28 23 24 20 2e 20 36 |-hook] 4| (#$ . 6|
|00001b60| 34 39 39 29 20 6e 69 6c | 5d 29 0a 23 40 31 32 32 |499) nil|]).#@122|
|00001b70| 31 20 53 77 69 74 63 68 | 20 74 6f 20 62 75 66 66 |1 Switch| to buff|
|00001b80| 65 72 20 6d 61 74 63 68 | 69 6e 67 20 61 20 73 75 |er match|ing a su|
|00001b90| 62 73 74 72 69 6e 67 2e | 0a 41 73 20 79 6f 75 20 |bstring.|.As you |
|00001ba0| 74 79 70 65 20 69 6e 20 | 61 20 73 74 72 69 6e 67 |type in |a string|
|00001bb0| 2c 20 61 6c 6c 20 6f 66 | 20 74 68 65 20 62 75 66 |, all of| the buf|
|00001bc0| 66 65 72 73 20 6d 61 74 | 63 68 69 6e 67 20 74 68 |fers mat|ching th|
|00001bd0| 65 20 73 74 72 69 6e 67 | 20 61 72 65 0a 64 69 73 |e string| are.dis|
|00001be0| 70 6c 61 79 65 64 2e 20 | 20 57 68 65 6e 20 79 6f |played. | When yo|
|00001bf0| 75 20 68 61 76 65 20 66 | 6f 75 6e 64 20 74 68 65 |u have f|ound the|
|00001c00| 20 62 75 66 66 65 72 20 | 79 6f 75 20 77 61 6e 74 | buffer |you want|
|00001c10| 2c 20 69 74 20 63 61 6e | 20 74 68 65 6e 20 62 65 |, it can| then be|
|00001c20| 0a 73 65 6c 65 63 74 65 | 64 2e 20 20 41 73 20 79 |.selecte|d. As y|
|00001c30| 6f 75 20 74 79 70 65 2c | 20 6d 6f 73 74 20 6b 65 |ou type,| most ke|
|00001c40| 79 73 20 68 61 76 65 20 | 74 68 65 69 72 20 6e 6f |ys have |their no|
|00001c50| 72 6d 61 6c 20 6b 65 79 | 62 69 6e 64 69 6e 67 73 |rmal key|bindings|
|00001c60| 2c 0a 65 78 63 65 70 74 | 20 66 6f 72 20 74 68 65 |,.except| for the|
|00001c70| 20 66 6f 6c 6c 6f 77 69 | 6e 67 3a 0a 5c 3c 69 73 | followi|ng:.\<is|
|00001c80| 77 69 74 63 68 62 2d 6d | 6f 64 65 2d 6d 61 70 3e |witchb-m|ode-map>|
|00001c90| 0a 0a 52 45 54 20 53 65 | 6c 65 63 74 20 74 68 65 |..RET Se|lect the|
|00001ca0| 20 62 75 66 66 65 72 20 | 61 74 20 74 68 65 20 66 | buffer |at the f|
|00001cb0| 72 6f 6e 74 20 6f 66 20 | 74 68 65 20 6c 69 73 74 |ront of |the list|
|00001cc0| 20 6f 66 20 6d 61 74 63 | 68 65 73 2e 20 20 49 66 | of matc|hes. If|
|00001cd0| 20 74 68 65 0a 6c 69 73 | 74 20 69 73 20 65 6d 70 | the.lis|t is emp|
|00001ce0| 74 79 2c 20 70 6f 73 73 | 69 62 6c 79 20 70 72 6f |ty, poss|ibly pro|
|00001cf0| 6d 70 74 20 74 6f 20 63 | 72 65 61 74 65 20 6e 65 |mpt to c|reate ne|
|00001d00| 77 20 62 75 66 66 65 72 | 2e 0a 0a 5c 5b 69 73 77 |w buffer|...\[isw|
|00001d10| 69 74 63 68 62 2d 73 65 | 6c 65 63 74 2d 62 75 66 |itchb-se|lect-buf|
|00001d20| 66 65 72 2d 74 65 78 74 | 5d 20 53 65 6c 65 63 74 |fer-text|] Select|
|00001d30| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 70 72 6f | the cur|rent pro|
|00001d40| 6d 70 74 20 61 73 20 74 | 68 65 20 62 75 66 66 65 |mpt as t|he buffe|
|00001d50| 72 2e 0a 49 66 20 6e 6f | 20 62 75 66 66 65 72 20 |r..If no| buffer |
|00001d60| 69 73 20 66 6f 75 6e 64 | 2c 20 70 72 6f 6d 70 74 |is found|, prompt|
|00001d70| 20 66 6f 72 20 61 20 6e | 65 77 20 6f 6e 65 2e 0a | for a n|ew one..|
|00001d80| 0a 5c 5b 69 73 77 69 74 | 63 68 62 2d 6e 65 78 74 |.\[iswit|chb-next|
|00001d90| 2d 6d 61 74 63 68 5d 20 | 50 75 74 20 74 68 65 20 |-match] |Put the |
|00001da0| 66 69 72 73 74 20 65 6c | 65 6d 65 6e 74 20 61 74 |first el|ement at|
|00001db0| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|00001dc0| 6c 69 73 74 2e 0a 5c 5b | 69 73 77 69 74 63 68 62 |list..\[|iswitchb|
|00001dd0| 2d 70 72 65 76 2d 6d 61 | 74 63 68 5d 20 50 75 74 |-prev-ma|tch] Put|
|00001de0| 20 74 68 65 20 6c 61 73 | 74 20 65 6c 65 6d 65 6e | the las|t elemen|
|00001df0| 74 20 61 74 20 74 68 65 | 20 73 74 61 72 74 20 6f |t at the| start o|
|00001e00| 66 20 74 68 65 20 6c 69 | 73 74 2e 0a 5c 5b 69 73 |f the li|st..\[is|
|00001e10| 77 69 74 63 68 62 2d 63 | 6f 6d 70 6c 65 74 65 5d |witchb-c|omplete]|
|00001e20| 20 43 6f 6d 70 6c 65 74 | 65 20 61 20 63 6f 6d 6d | Complet|e a comm|
|00001e30| 6f 6e 20 73 75 66 66 69 | 78 20 74 6f 20 74 68 65 |on suffi|x to the|
|00001e40| 20 63 75 72 72 65 6e 74 | 20 73 74 72 69 6e 67 20 | current| string |
|00001e50| 74 68 61 74 20 0a 6d 61 | 74 63 68 65 73 20 61 6c |that .ma|tches al|
|00001e60| 6c 20 62 75 66 66 65 72 | 73 2e 20 20 49 66 20 74 |l buffer|s. If t|
|00001e70| 68 65 72 65 20 69 73 20 | 6f 6e 6c 79 20 6f 6e 65 |here is |only one|
|00001e80| 20 6d 61 74 63 68 2c 20 | 73 65 6c 65 63 74 20 74 | match, |select t|
|00001e90| 68 61 74 20 62 75 66 66 | 65 72 2e 0a 49 66 20 74 |hat buff|er..If t|
|00001ea0| 68 65 72 65 20 69 73 20 | 6e 6f 20 63 6f 6d 6d 6f |here is |no commo|
|00001eb0| 6e 20 73 75 66 66 69 78 | 2c 20 73 68 6f 77 20 61 |n suffix|, show a|
|00001ec0| 20 6c 69 73 74 20 6f 66 | 20 61 6c 6c 20 6d 61 74 | list of| all mat|
|00001ed0| 63 68 69 6e 67 20 62 75 | 66 66 65 72 73 0a 69 6e |ching bu|ffers.in|
|00001ee0| 20 61 20 73 65 70 61 72 | 61 74 65 20 77 69 6e 64 | a separ|ate wind|
|00001ef0| 6f 77 2e 0a 5c 5b 69 73 | 77 69 74 63 68 62 2d 74 |ow..\[is|witchb-t|
|00001f00| 6f 67 67 6c 65 2d 72 65 | 67 65 78 70 5d 20 54 6f |oggle-re|gexp] To|
|00001f10| 67 67 6c 65 20 72 65 78 | 65 70 20 73 65 61 72 63 |ggle rex|ep searc|
|00001f20| 68 69 6e 67 2e 0a 5c 5b | 69 73 77 69 74 63 68 62 |hing..\[|iswitchb|
|00001f30| 2d 74 6f 67 67 6c 65 2d | 63 61 73 65 5d 20 54 6f |-toggle-|case] To|
|00001f40| 67 67 6c 65 20 63 61 73 | 65 2d 73 65 6e 73 69 74 |ggle cas|e-sensit|
|00001f50| 69 76 65 20 73 65 61 72 | 63 68 69 6e 67 20 6f 66 |ive sear|ching of|
|00001f60| 20 62 75 66 66 65 72 20 | 6e 61 6d 65 73 2e 0a 5c | buffer |names..\|
|00001f70| 5b 69 73 77 69 74 63 68 | 62 2d 63 6f 6d 70 6c 65 |[iswitch|b-comple|
|00001f80| 74 69 6f 6e 2d 68 65 6c | 70 5d 20 53 68 6f 77 20 |tion-hel|p] Show |
|00001f90| 6c 69 73 74 20 6f 66 20 | 6d 61 74 63 68 69 6e 67 |list of |matching|
|00001fa0| 20 62 75 66 66 65 72 73 | 20 69 6e 20 73 65 70 61 | buffers| in sepa|
|00001fb0| 72 61 74 65 20 77 69 6e | 64 6f 77 2e 0a 5c 5b 69 |rate win|dow..\[i|
|00001fc0| 73 77 69 74 63 68 62 2d | 66 69 6e 64 2d 66 69 6c |switchb-|find-fil|
|00001fd0| 65 5d 20 45 78 69 74 20 | 69 73 77 69 74 63 68 62 |e] Exit |iswitchb|
|00001fe0| 20 61 6e 64 20 64 72 6f | 70 20 69 6e 74 6f 20 66 | and dro|p into f|
|00001ff0| 69 6e 64 2d 66 69 6c 65 | 2e 0a 5c 5b 69 73 77 69 |ind-file|..\[iswi|
|00002000| 74 63 68 62 2d 6b 69 6c | 6c 2d 62 75 66 66 65 72 |tchb-kil|l-buffer|
|00002010| 5d 20 4b 69 6c 6c 20 62 | 75 66 66 65 72 20 61 74 |] Kill b|uffer at|
|00002020| 20 68 65 61 64 20 6f 66 | 20 62 75 66 66 65 72 20 | head of| buffer |
|00002030| 6c 69 73 74 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |list...(|defalias|
|00002040| 20 27 69 73 77 69 74 63 | 68 62 20 23 5b 6e 69 6c | 'iswitc|hb #[nil|
|00002050| 20 22 c0 89 89 89 89 09 | ad 88 c2 c3 21 ad 83 c2 | "......|....!...|
|00002060| c4 21 19 1d 1e 06 1e 07 | 1e 08 1e 09 ca 20 88 c0 |.!......|..... ..|
|00002070| 16 0b cc 16 0d ce 16 0f | d0 20 88 d1 d2 21 16 09 |........|. ...!..|
|00002080| d3 20 88 0e 14 1e 15 d6 | 0e 09 d7 c0 89 89 d8 26 |. ......|.......&|
|00002090| 06 16 07 29 0e 0b d9 61 | ab 85 da db 21 aa ba 0e |...)...a|....!...|
|000020a0| 0b dc 61 ac 84 0e 1d ac | 86 0e 07 16 08 aa 85 0e |..a.....|........|
|000020b0| 1d 40 16 08 0e 07 ce 6b | ab 85 0e 1d 40 16 08 de |.@.....k|....@...|
|000020c0| df 0e 08 5c 22 88 0e 08 | ad 90 e0 0e 08 21 ab 86 |...\"...|.....!..|
|000020d0| e1 0e 08 21 aa 84 e2 0e | 08 21 2e 06 87 22 20 5b |...!....|.!..." [|
|000020e0| 6e 69 6c 20 69 73 77 69 | 74 63 68 62 2d 75 73 65 |nil iswi|tchb-use|
|000020f0| 2d 66 6f 6e 74 73 20 62 | 6f 75 6e 64 70 20 66 6f |-fonts b|oundp fo|
|00002100| 6e 74 2d 6c 6f 63 6b 2d | 63 6f 6d 6d 65 6e 74 2d |nt-lock-|comment-|
|00002110| 66 61 63 65 20 66 6f 6e | 74 2d 6c 6f 63 6b 2d 66 |face fon|t-lock-f|
|00002120| 75 6e 63 74 69 6f 6e 2d | 6e 61 6d 65 2d 66 61 63 |unction-|name-fac|
|00002130| 65 20 69 63 6f 6d 70 6c | 65 74 65 2d 6d 6f 64 65 |e icompl|ete-mode|
|00002140| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 63 6f 6e 66 | minibuf|fer-conf|
|00002150| 69 72 6d 2d 69 6e 63 6f | 6d 70 6c 65 74 65 20 69 |irm-inco|mplete i|
|00002160| 73 77 69 74 63 68 62 2d | 66 69 6e 61 6c 2d 74 65 |switchb-|final-te|
|00002170| 78 74 20 62 75 66 2d 73 | 65 6c 20 70 72 6f 6d 70 |xt buf-s|el promp|
|00002180| 74 20 69 73 77 69 74 63 | 68 62 2d 64 65 66 69 6e |t iswitc|hb-defin|
|00002190| 65 2d 6d 6f 64 65 2d 6d | 61 70 20 69 73 77 69 74 |e-mode-m|ap iswit|
|000021a0| 63 68 62 2d 65 78 69 74 | 20 74 20 69 73 77 69 74 |chb-exit| t iswit|
|000021b0| 63 68 62 2d 72 65 73 63 | 61 6e 20 22 22 20 69 73 |chb-resc|an "" is|
|000021c0| 77 69 74 63 68 62 2d 74 | 65 78 74 20 69 73 77 69 |witchb-t|ext iswi|
|000021d0| 74 63 68 62 2d 73 65 74 | 2d 6d 61 74 63 68 65 73 |tchb-set|-matches|
|000021e0| 20 66 6f 72 6d 61 74 20 | 22 69 73 77 69 74 63 68 | format |"iswitch|
|000021f0| 20 22 20 69 73 77 69 74 | 63 68 62 2d 6d 61 6b 65 | " iswit|chb-make|
|00002200| 2d 62 75 66 6c 69 73 74 | 20 69 73 77 69 74 63 68 |-buflist| iswitch|
|00002210| 62 2d 6d 6f 64 65 2d 6d | 61 70 20 6d 69 6e 69 62 |b-mode-m|ap minib|
|00002220| 75 66 66 65 72 2d 6c 6f | 63 61 6c 2d 63 6f 6d 70 |uffer-lo|cal-comp|
|00002230| 6c 65 74 69 6f 6e 2d 6d | 61 70 20 63 6f 6d 70 6c |letion-m|ap compl|
|00002240| 65 74 69 6e 67 2d 72 65 | 61 64 20 28 28 22 64 75 |eting-re|ad (("du|
|00002250| 6d 6d 79 22 20 30 2e 31 | 29 29 20 69 73 77 69 74 |mmy" 0.1|)) iswit|
|00002260| 63 68 62 2d 68 69 73 74 | 6f 72 79 20 66 69 6e 64 |chb-hist|ory find|
|00002270| 66 69 6c 65 20 63 61 6c | 6c 2d 69 6e 74 65 72 61 |file cal|l-intera|
|00002280| 63 74 69 76 65 6c 79 20 | 66 69 6e 64 2d 66 69 6c |ctively |find-fil|
|00002290| 65 20 74 61 6b 65 70 72 | 6f 6d 70 74 20 69 73 77 |e takepr|ompt isw|
|000022a0| 69 74 63 68 62 2d 6d 61 | 74 63 68 65 73 20 6d 65 |itchb-ma|tches me|
|000022b0| 73 73 61 67 65 20 22 67 | 6f 20 74 6f 20 62 75 66 |ssage "g|o to buf|
|000022c0| 20 25 73 22 20 67 65 74 | 2d 62 75 66 66 65 72 20 | %s" get|-buffer |
|000022d0| 69 73 77 69 74 63 68 62 | 2d 76 69 73 69 74 2d 62 |iswitchb|-visit-b|
|000022e0| 75 66 66 65 72 20 69 73 | 77 69 74 63 68 62 2d 70 |uffer is|witchb-p|
|000022f0| 6f 73 73 69 62 6c 65 2d | 6e 65 77 2d 62 75 66 66 |ossible-|new-buff|
|00002300| 65 72 5d 20 37 20 28 23 | 24 20 2e 20 37 30 32 36 |er] 7 (#|$ . 7026|
|00002310| 29 5d 29 0a 23 40 31 32 | 32 20 46 69 6e 64 20 63 |)]).#@12|2 Find c|
|00002320| 6f 6d 6d 6f 6e 20 63 6f | 6d 70 6c 65 74 69 6f 6e |ommon co|mpletion|
|00002330| 20 6f 66 20 60 69 73 77 | 69 74 63 68 62 2d 74 65 | of `isw|itchb-te|
|00002340| 78 74 27 20 69 6e 20 60 | 69 73 77 69 74 63 68 62 |xt' in `|iswitchb|
|00002350| 2d 6d 61 74 63 68 65 73 | 27 2e 0a 54 68 65 20 72 |-matches|'..The r|
|00002360| 65 73 75 6c 74 20 69 73 | 20 73 74 6f 72 65 64 20 |esult is| stored |
|00002370| 69 6e 20 60 69 73 77 69 | 74 63 68 62 2d 63 6f 6d |in `iswi|tchb-com|
|00002380| 6d 6f 6e 2d 6d 61 74 63 | 68 2d 73 74 72 69 6e 67 |mon-matc|h-string|
|00002390| 27 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 69 |'...(def|alias 'i|
|000023a0| 73 77 69 74 63 68 62 2d | 73 65 74 2d 63 6f 6d 6d |switchb-|set-comm|
|000023b0| 6f 6e 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 20 23 5b |on-compl|etion #[|
|000023c0| 6e 69 6c 20 22 c0 19 c0 | 12 0b ab 94 0c 3b ab 90 |nil "...|.....;..|
|000023d0| 0c 47 c5 56 ab 8a c6 0b | 0c 5c 22 89 11 ab 82 09 |.G.V....|.\".....|
|000023e0| 12 09 29 87 22 20 5b 6e | 69 6c 20 76 61 6c 20 69 |..)." [n|il val i|
|000023f0| 73 77 69 74 63 68 62 2d | 63 6f 6d 6d 6f 6e 2d 6d |switchb-|common-m|
|00002400| 61 74 63 68 2d 73 74 72 | 69 6e 67 20 69 73 77 69 |atch-str|ing iswi|
|00002410| 74 63 68 62 2d 6d 61 74 | 63 68 65 73 20 69 73 77 |tchb-mat|ches isw|
|00002420| 69 74 63 68 62 2d 74 65 | 78 74 20 30 20 69 73 77 |itchb-te|xt 0 isw|
|00002430| 69 74 63 68 62 2d 66 69 | 6e 64 2d 63 6f 6d 6d 6f |itchb-fi|nd-commo|
|00002440| 6e 2d 73 75 62 73 74 72 | 69 6e 67 5d 20 33 20 28 |n-substr|ing] 3 (|
|00002450| 23 24 20 2e 20 38 39 38 | 36 29 5d 29 0a 23 40 36 |#$ . 898|6)]).#@6|
|00002460| 34 20 54 72 79 20 61 6e | 64 20 63 6f 6d 70 6c 65 |4 Try an|d comple|
|00002470| 74 65 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 70 |te the c|urrent p|
|00002480| 61 74 74 65 72 6e 20 61 | 6d 6f 6e 67 73 74 20 74 |attern a|mongst t|
|00002490| 68 65 20 62 75 66 66 65 | 72 20 6e 61 6d 65 73 2e |he buffe|r names.|
|000024a0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 69 73 77 |..(defal|ias 'isw|
|000024b0| 69 74 63 68 62 2d 63 6f | 6d 70 6c 65 74 65 20 23 |itchb-co|mplete #|
|000024c0| 5b 6e 69 6c 20 22 c0 19 | 5c 6e ac 84 c3 20 aa a8 |[nil "..|\n... ..|
|000024d0| 5c 6e 47 c4 61 ab 84 c5 | 20 aa 9e c6 5c 6e 0e 07 |\nG.a...| ...\n..|
|000024e0| 5c 22 89 11 c8 73 ac 91 | 09 0e 07 6b ac 8b c0 16 |\"...s..|...k....|
|000024f0| 09 65 60 7c 88 09 63 aa | 82 c3 20 29 87 22 20 5b |.e`|..c.|.. )." [|
|00002500| 6e 69 6c 20 72 65 73 20 | 69 73 77 69 74 63 68 62 |nil res |iswitchb|
|00002510| 2d 6d 61 74 63 68 65 73 | 20 69 73 77 69 74 63 68 |-matches| iswitch|
|00002520| 62 2d 63 6f 6d 70 6c 65 | 74 69 6f 6e 2d 68 65 6c |b-comple|tion-hel|
|00002530| 70 20 31 20 65 78 69 74 | 2d 6d 69 6e 69 62 75 66 |p 1 exit|-minibuf|
|00002540| 66 65 72 20 69 73 77 69 | 74 63 68 62 2d 66 69 6e |fer iswi|tchb-fin|
|00002550| 64 2d 63 6f 6d 6d 6f 6e | 2d 73 75 62 73 74 72 69 |d-common|-substri|
|00002560| 6e 67 20 69 73 77 69 74 | 63 68 62 2d 74 65 78 74 |ng iswit|chb-text|
|00002570| 20 28 74 20 6e 69 6c 29 | 20 69 73 77 69 74 63 68 | (t nil)| iswitch|
|00002580| 62 2d 72 65 73 63 61 6e | 5d 20 34 20 28 23 24 20 |b-rescan|] 4 (#$ |
|00002590| 2e 20 39 33 31 34 29 20 | 6e 69 6c 5d 29 0a 23 40 |. 9314) |nil]).#@|
|000025a0| 33 38 20 54 6f 67 67 6c | 65 20 74 68 65 20 76 61 |38 Toggl|e the va|
|000025b0| 6c 75 65 20 6f 66 20 60 | 69 73 77 69 74 63 68 62 |lue of `|iswitchb|
|000025c0| 2d 63 61 73 65 27 2e 1f | 0a 28 64 65 66 61 6c 69 |-case'..|.(defali|
|000025d0| 61 73 20 27 69 73 77 69 | 74 63 68 62 2d 74 6f 67 |as 'iswi|tchb-tog|
|000025e0| 67 6c 65 2d 63 61 73 65 | 20 23 5b 6e 69 6c 20 22 |gle-case| #[nil "|
|000025f0| 08 3f 10 c1 89 12 87 22 | 20 5b 69 73 77 69 74 63 |.?....."| [iswitc|
|00002600| 68 62 2d 63 61 73 65 20 | 74 20 69 73 77 69 74 63 |hb-case |t iswitc|
|00002610| 68 62 2d 72 65 73 63 61 | 6e 5d 20 32 20 28 23 24 |hb-resca|n] 2 (#$|
|00002620| 20 2e 20 39 36 33 35 29 | 20 6e 69 6c 5d 29 0a 23 | . 9635)| nil]).#|
|00002630| 40 34 30 20 54 6f 67 67 | 6c 65 20 74 68 65 20 76 |@40 Togg|le the v|
|00002640| 61 6c 75 65 20 6f 66 20 | 60 69 73 77 69 74 63 68 |alue of |`iswitch|
|00002650| 62 2d 72 65 67 65 78 70 | 27 2e 1f 0a 28 64 65 66 |b-regexp|'...(def|
|00002660| 61 6c 69 61 73 20 27 69 | 73 77 69 74 63 68 62 2d |alias 'i|switchb-|
|00002670| 74 6f 67 67 6c 65 2d 72 | 65 67 65 78 70 20 23 5b |toggle-r|egexp #[|
|00002680| 6e 69 6c 20 22 08 3f 10 | c1 89 12 87 22 20 5b 69 |nil ".?.|...." [i|
|00002690| 73 77 69 74 63 68 62 2d | 72 65 67 65 78 70 20 74 |switchb-|regexp t|
|000026a0| 20 69 73 77 69 74 63 68 | 62 2d 72 65 73 63 61 6e | iswitch|b-rescan|
|000026b0| 5d 20 32 20 28 23 24 20 | 2e 20 39 37 38 30 29 20 |] 2 (#$ |. 9780) |
|000026c0| 6e 69 6c 5d 29 0a 23 40 | 36 36 20 54 6f 67 67 6c |nil]).#@|66 Toggl|
|000026d0| 65 20 69 67 6e 6f 72 69 | 6e 67 20 62 75 66 66 65 |e ignori|ng buffe|
|000026e0| 72 73 20 73 70 65 63 69 | 66 69 65 64 20 77 69 74 |rs speci|fied wit|
|000026f0| 68 20 60 69 73 77 69 74 | 63 68 62 2d 62 75 66 66 |h `iswit|chb-buff|
|00002700| 65 72 2d 69 67 6e 6f 72 | 65 27 2e 1f 0a 28 64 65 |er-ignor|e'...(de|
|00002710| 66 61 6c 69 61 73 20 27 | 69 73 77 69 74 63 68 62 |falias '|iswitchb|
|00002720| 2d 74 6f 67 67 6c 65 2d | 69 67 6e 6f 72 65 20 23 |-toggle-|ignore #|
|00002730| 5b 6e 69 6c 20 22 08 ab | 86 08 11 c2 10 aa 82 09 |[nil "..|........|
|00002740| 10 c3 89 14 87 22 20 5b | 69 73 77 69 74 63 68 62 |....." [|iswitchb|
|00002750| 2d 62 75 66 66 65 72 2d | 69 67 6e 6f 72 65 20 69 |-buffer-|ignore i|
|00002760| 73 77 69 74 63 68 62 2d | 62 75 66 66 65 72 2d 69 |switchb-|buffer-i|
|00002770| 67 6e 6f 72 65 2d 6f 72 | 69 67 20 6e 69 6c 20 74 |gnore-or|ig nil t|
|00002780| 20 69 73 77 69 74 63 68 | 62 2d 72 65 73 63 61 6e | iswitch|b-rescan|
|00002790| 5d 20 32 20 28 23 24 20 | 2e 20 39 39 33 31 29 20 |] 2 (#$ |. 9931) |
|000027a0| 6e 69 6c 5d 29 0a 23 40 | 31 31 33 20 53 65 6c 65 |nil]).#@|113 Sele|
|000027b0| 63 74 20 74 68 65 20 62 | 75 66 66 65 72 20 6e 61 |ct the b|uffer na|
|000027c0| 6d 65 64 20 62 79 20 74 | 68 65 20 70 72 6f 6d 70 |med by t|he promp|
|000027d0| 74 2e 0a 49 66 20 6e 6f | 20 62 75 66 66 65 72 20 |t..If no| buffer |
|000027e0| 65 78 61 63 74 6c 79 20 | 6d 61 74 63 68 69 6e 67 |exactly |matching|
|000027f0| 20 74 68 65 20 70 72 6f | 6d 70 74 20 65 78 69 73 | the pro|mpt exis|
|00002800| 74 73 2c 20 6d 61 79 62 | 65 20 63 72 65 61 74 65 |ts, mayb|e create|
|00002810| 20 61 20 6e 65 77 20 6f | 6e 65 2e 1f 0a 28 64 65 | a new o|ne...(de|
|00002820| 66 61 6c 69 61 73 20 27 | 69 73 77 69 74 63 68 62 |falias '|iswitchb|
|00002830| 2d 73 65 6c 65 63 74 2d | 62 75 66 66 65 72 2d 74 |-select-|buffer-t|
|00002840| 65 78 74 20 23 5b 6e 69 | 6c 20 22 c0 11 c2 20 87 |ext #[ni|l "... .|
|00002850| 22 20 5b 74 61 6b 65 70 | 72 6f 6d 70 74 20 69 73 |" [takep|rompt is|
|00002860| 77 69 74 63 68 62 2d 65 | 78 69 74 20 65 78 69 74 |witchb-e|xit exit|
|00002870| 2d 6d 69 6e 69 62 75 66 | 66 65 72 5d 20 31 20 28 |-minibuf|fer] 1 (|
|00002880| 23 24 20 2e 20 31 30 31 | 35 36 29 20 6e 69 6c 5d |#$ . 101|56) nil]|
|00002890| 29 0a 23 40 34 34 20 44 | 72 6f 70 20 69 6e 74 6f |).#@44 D|rop into|
|000028a0| 20 66 69 6e 64 2d 66 69 | 6c 65 20 66 72 6f 6d 20 | find-fi|le from |
|000028b0| 62 75 66 66 65 72 20 73 | 77 69 74 63 68 69 6e 67 |buffer s|witching|
|000028c0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 69 73 |...(defa|lias 'is|
|000028d0| 77 69 74 63 68 62 2d 66 | 69 6e 64 2d 66 69 6c 65 |witchb-f|ind-file|
|000028e0| 20 23 5b 6e 69 6c 20 22 | c0 11 c2 20 87 22 20 5b | #[nil "|... ." [|
|000028f0| 66 69 6e 64 66 69 6c 65 | 20 69 73 77 69 74 63 68 |findfile| iswitch|
|00002900| 62 2d 65 78 69 74 20 65 | 78 69 74 2d 6d 69 6e 69 |b-exit e|xit-mini|
|00002910| 62 75 66 66 65 72 5d 20 | 31 20 28 23 24 20 2e 20 |buffer] |1 (#$ . |
|00002920| 31 30 33 39 31 29 20 6e | 69 6c 5d 29 0a 23 40 36 |10391) n|il]).#@6|
|00002930| 35 20 50 75 74 20 66 69 | 72 73 74 20 65 6c 65 6d |5 Put fi|rst elem|
|00002940| 65 6e 74 20 6f 66 20 60 | 69 73 77 69 74 63 68 62 |ent of `|iswitchb|
|00002950| 2d 6d 61 74 63 68 65 73 | 27 20 61 74 20 74 68 65 |-matches|' at the|
|00002960| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 6c 69 73 74 | end of |the list|
|00002970| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 69 73 |...(defa|lias 'is|
|00002980| 77 69 74 63 68 62 2d 6e | 65 78 74 2d 6d 61 74 63 |witchb-n|ext-matc|
|00002990| 68 20 23 5b 6e 69 6c 20 | 22 08 41 40 19 c2 0b 09 |h #[nil |".A@....|
|000029a0| 5c 22 13 c4 89 15 29 87 | 22 20 5b 69 73 77 69 74 |\"....).|" [iswit|
|000029b0| 63 68 62 2d 6d 61 74 63 | 68 65 73 20 6e 65 78 74 |chb-matc|hes next|
|000029c0| 20 69 73 77 69 74 63 68 | 62 2d 63 68 6f 70 20 69 | iswitch|b-chop i|
|000029d0| 73 77 69 74 63 68 62 2d | 62 75 66 6c 69 73 74 20 |switchb-|buflist |
|000029e0| 74 20 69 73 77 69 74 63 | 68 62 2d 72 65 73 63 61 |t iswitc|hb-resca|
|000029f0| 6e 5d 20 33 20 28 23 24 | 20 2e 20 31 30 35 34 36 |n] 3 (#$| . 10546|
|00002a00| 29 20 6e 69 6c 5d 29 0a | 23 40 36 36 20 50 75 74 |) nil]).|#@66 Put|
|00002a10| 20 6c 61 73 74 20 65 6c | 65 6d 65 6e 74 20 6f 66 | last el|ement of|
|00002a20| 20 60 69 73 77 69 74 63 | 68 62 2d 6d 61 74 63 68 | `iswitc|hb-match|
|00002a30| 65 73 27 20 61 74 20 74 | 68 65 20 66 72 6f 6e 74 |es' at t|he front|
|00002a40| 20 6f 66 20 74 68 65 20 | 6c 69 73 74 2e 1f 0a 28 | of the |list...(|
|00002a50| 64 65 66 61 6c 69 61 73 | 20 27 69 73 77 69 74 63 |defalias| 'iswitc|
|00002a60| 68 62 2d 70 72 65 76 2d | 6d 61 74 63 68 20 23 5b |hb-prev-|match #[|
|00002a70| 6e 69 6c 20 22 c0 09 21 | 40 1a c3 0c 5c 6e 5c 22 |nil "..!|@...\n\"|
|00002a80| 14 c5 89 16 06 29 87 22 | 20 5b 6c 61 73 74 20 69 |.....)."| [last i|
|00002a90| 73 77 69 74 63 68 62 2d | 6d 61 74 63 68 65 73 20 |switchb-|matches |
|00002aa0| 70 72 65 76 20 69 73 77 | 69 74 63 68 62 2d 63 68 |prev isw|itchb-ch|
|00002ab0| 6f 70 20 69 73 77 69 74 | 63 68 62 2d 62 75 66 6c |op iswit|chb-bufl|
|00002ac0| 69 73 74 20 74 20 69 73 | 77 69 74 63 68 62 2d 72 |ist t is|witchb-r|
|00002ad0| 65 73 63 61 6e 5d 20 33 | 20 28 23 24 20 2e 20 31 |escan] 3| (#$ . 1|
|00002ae0| 30 37 36 35 29 20 6e 69 | 6c 5d 29 0a 23 40 36 36 |0765) ni|l]).#@66|
|00002af0| 20 52 65 6d 6f 76 65 20 | 61 6c 6c 20 65 6c 65 6d | Remove |all elem|
|00002b00| 65 6e 74 73 20 62 65 66 | 6f 72 65 20 45 4c 45 4d |ents bef|ore ELEM|
|00002b10| 20 61 6e 64 20 70 75 74 | 20 74 68 65 6d 20 61 74 | and put| them at|
|00002b20| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 4c 49 53 54 | the end| of LIST|
|00002b30| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 69 73 |...(defa|lias 'is|
|00002b40| 77 69 74 63 68 62 2d 63 | 68 6f 70 20 23 5b 28 6c |witchb-c|hop #[(l|
|00002b50| 69 73 74 20 65 6c 65 6d | 29 20 22 c0 89 89 19 1a |ist elem|) ".....|
|00002b60| 1b 0b ac 9a 0c 40 89 12 | 0d 6b ab 89 c6 0c 09 9f |.....@..|.k......|
|00002b70| 5c 22 89 13 aa 6d 0c 41 | 14 5c 6e 09 42 11 aa 63 |\"...m.A|.\n.B..c|
|00002b80| 0b 2b 87 22 20 5b 6e 69 | 6c 20 73 6f 66 61 72 20 |.+." [ni|l sofar |
|00002b90| 6e 65 78 74 20 72 65 74 | 20 6c 69 73 74 20 65 6c |next ret| list el|
|00002ba0| 65 6d 20 61 70 70 65 6e | 64 5d 20 34 20 28 23 24 |em appen|d] 4 (#$|
|00002bb0| 20 2e 20 31 30 39 39 33 | 29 5d 29 0a 23 40 32 37 | . 10993|)]).#@27|
|00002bc0| 32 20 53 65 74 20 60 69 | 73 77 69 74 63 68 62 2d |2 Set `i|switchb-|
|00002bd0| 62 75 66 6c 69 73 74 27 | 20 74 6f 20 74 68 65 20 |buflist'| to the |
|00002be0| 63 75 72 72 65 6e 74 20 | 6c 69 73 74 20 6f 66 20 |current |list of |
|00002bf0| 62 75 66 66 65 72 73 2e | 0a 43 75 72 72 65 6e 74 |buffers.|.Current|
|00002c00| 6c 79 20 76 69 73 69 62 | 6c 65 20 62 75 66 66 65 |ly visib|le buffe|
|00002c10| 72 73 20 61 72 65 20 70 | 75 74 20 61 74 20 74 68 |rs are p|ut at th|
|00002c20| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 6c 69 73 |e end of| the lis|
|00002c30| 74 2e 0a 54 68 65 20 68 | 6f 6f 6b 20 60 69 73 77 |t..The h|ook `isw|
|00002c40| 69 74 63 68 62 2d 6d 61 | 6b 65 2d 62 75 66 6c 69 |itchb-ma|ke-bufli|
|00002c50| 73 74 2d 68 6f 6f 6b 27 | 20 69 73 20 72 75 6e 20 |st-hook'| is run |
|00002c60| 61 66 74 65 72 20 74 68 | 65 20 6c 69 73 74 20 68 |after th|e list h|
|00002c70| 61 73 20 62 65 65 6e 20 | 0a 63 72 65 61 74 65 64 |as been |.created|
|00002c80| 20 74 6f 20 61 6c 6c 6f | 77 20 74 68 65 20 75 73 | to allo|w the us|
|00002c90| 65 72 20 74 6f 20 66 75 | 72 74 68 65 72 20 6d 6f |er to fu|rther mo|
|00002ca0| 64 69 66 79 20 74 68 65 | 20 6f 72 64 65 72 20 6f |dify the| order o|
|00002cb0| 66 20 74 68 65 20 62 75 | 66 66 65 72 20 6e 61 6d |f the bu|ffer nam|
|00002cc0| 65 73 0a 69 6e 20 74 68 | 69 73 20 6c 69 73 74 2e |es.in th|is list.|
|00002cd0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 69 73 77 |..(defal|ias 'isw|
|00002ce0| 69 74 63 68 62 2d 6d 61 | 6b 65 2d 62 75 66 6c 69 |itchb-ma|ke-bufli|
|00002cf0| 73 74 20 23 5b 6e 69 6c | 20 22 c0 20 19 c2 c3 c4 |st #[nil| ". ....|
|00002d00| c5 c6 20 5c 22 5c 22 89 | 1e 07 09 a4 88 c8 c9 21 |.. \"\".|.......!|
|00002d10| 88 0e 07 2a 89 16 5c 6e | 87 22 20 5b 69 73 77 69 |...*..\n|." [iswi|
|00002d20| 74 63 68 62 2d 67 65 74 | 2d 62 75 66 66 65 72 73 |tchb-get|-buffers|
|00002d30| 2d 69 6e 2d 66 72 61 6d | 65 73 20 69 73 77 69 74 |-in-fram|es iswit|
|00002d40| 63 68 62 2d 63 75 72 72 | 65 6e 74 2d 62 75 66 66 |chb-curr|ent-buff|
|00002d50| 65 72 73 20 64 65 6c 71 | 20 6e 69 6c 20 6d 61 70 |ers delq| nil map|
|00002d60| 63 61 72 20 23 5b 28 78 | 29 20 22 c0 09 21 1a c3 |car #[(x|) "..!..|
|00002d70| 5c 6e 21 ae 83 5c 6e 0c | 73 3f ad 81 5c 6e 29 87 |\n!..\n.|s?..\n).|
|00002d80| 22 20 5b 62 75 66 66 65 | 72 2d 6e 61 6d 65 20 78 |" [buffe|r-name x|
|00002d90| 20 62 2d 6e 61 6d 65 20 | 69 73 77 69 74 63 68 62 | b-name |iswitchb|
|00002da0| 2d 69 67 6e 6f 72 65 2d | 62 75 66 66 65 72 6e 61 |-ignore-|bufferna|
|00002db0| 6d 65 2d 70 20 69 73 77 | 69 74 63 68 62 2d 63 75 |me-p isw|itchb-cu|
|00002dc0| 72 72 65 6e 74 2d 62 75 | 66 66 65 72 73 5d 20 32 |rrent-bu|ffers] 2|
|00002dd0| 5d 20 62 75 66 66 65 72 | 2d 6c 69 73 74 20 62 75 |] buffer|-list bu|
|00002de0| 66 6c 69 73 74 20 72 75 | 6e 2d 68 6f 6f 6b 73 20 |flist ru|n-hooks |
|00002df0| 69 73 77 69 74 63 68 62 | 2d 6d 61 6b 65 2d 62 75 |iswitchb|-make-bu|
|00002e00| 66 6c 69 73 74 2d 68 6f | 6f 6b 20 69 73 77 69 74 |flist-ho|ok iswit|
|00002e10| 63 68 62 2d 62 75 66 6c | 69 73 74 5d 20 36 20 28 |chb-bufl|ist] 6 (|
|00002e20| 23 24 20 2e 20 31 31 32 | 30 32 29 5d 29 0a 23 40 |#$ . 112|02)]).#@|
|00002e30| 35 31 20 4d 6f 76 65 20 | 74 68 65 20 65 6c 65 6d |51 Move |the elem|
|00002e40| 65 6e 74 73 20 66 72 6f | 6d 20 4c 53 54 20 74 6f |ents fro|m LST to|
|00002e50| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 42 55 46 4c | the end| of BUFL|
|00002e60| 49 53 54 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |IST...(d|efalias |
|00002e70| 27 69 73 77 69 74 63 68 | 62 2d 74 6f 2d 65 6e 64 |'iswitch|b-to-end|
|00002e80| 20 23 5b 28 6c 73 74 29 | 20 22 c0 c1 5c 6e 5c 22 | #[(lst)| "..\n\"|
|00002e90| 88 0b 5c 6e a4 87 22 20 | 5b 6d 61 70 63 61 72 20 |..\n.." |[mapcar |
|00002ea0| 23 5b 28 65 6c 65 6d 29 | 20 22 c0 09 5c 6e 5c 22 |#[(elem)| "..\n\"|
|00002eb0| 89 12 87 22 20 5b 64 65 | 6c 71 20 65 6c 65 6d 20 |..." [de|lq elem |
|00002ec0| 62 75 66 6c 69 73 74 5d | 20 33 5d 20 6c 73 74 20 |buflist]| 3] lst |
|00002ed0| 62 75 66 6c 69 73 74 5d | 20 33 20 28 23 24 20 2e |buflist]| 3 (#$ .|
|00002ee0| 20 31 31 38 32 37 29 5d | 29 0a 23 40 32 31 39 20 | 11827)]|).#@219 |
|00002ef0| 52 65 74 75 72 6e 20 74 | 68 65 20 6c 69 73 74 20 |Return t|he list |
|00002f00| 6f 66 20 62 75 66 66 65 | 72 73 20 74 68 61 74 20 |of buffe|rs that |
|00002f10| 61 72 65 20 76 69 73 69 | 62 6c 65 20 69 6e 20 74 |are visi|ble in t|
|00002f20| 68 65 20 63 75 72 72 65 | 6e 74 20 66 72 61 6d 65 |he curre|nt frame|
|00002f30| 2e 0a 49 66 20 6f 70 74 | 69 6f 6e 61 6c 20 61 72 |..If opt|ional ar|
|00002f40| 67 75 6d 65 6e 74 20 60 | 63 75 72 72 65 6e 74 27 |gument `|current'|
|00002f50| 20 69 73 20 67 69 76 65 | 6e 2c 20 72 65 73 74 72 | is give|n, restr|
|00002f60| 69 63 74 20 73 65 61 72 | 63 68 69 6e 67 20 74 6f |ict sear|ching to|
|00002f70| 20 74 68 65 0a 63 75 72 | 72 65 6e 74 20 66 72 61 | the.cur|rent fra|
|00002f80| 6d 65 2c 20 72 61 74 68 | 65 72 20 74 68 61 6e 20 |me, rath|er than |
|00002f90| 61 6c 6c 20 66 72 61 6d | 65 73 2c 20 72 65 67 61 |all fram|es, rega|
|00002fa0| 72 64 6c 65 73 73 20 6f | 66 20 76 61 6c 75 65 20 |rdless o|f value |
|00002fb0| 6f 66 0a 60 69 73 77 69 | 74 63 68 62 2d 61 6c 6c |of.`iswi|tchb-all|
|00002fc0| 2d 66 72 61 6d 65 73 27 | 2e 1f 0a 28 64 65 66 61 |-frames'|...(defa|
|00002fd0| 6c 69 61 73 20 27 69 73 | 77 69 74 63 68 62 2d 67 |lias 'is|witchb-g|
|00002fe0| 65 74 2d 62 75 66 66 65 | 72 73 2d 69 6e 2d 66 72 |et-buffe|rs-in-fr|
|00002ff0| 61 6d 65 73 20 23 5b 28 | 26 6f 70 74 69 6f 6e 61 |ames #[(|&optiona|
|00003000| 6c 20 63 75 72 72 65 6e | 74 29 20 22 c0 19 c2 c3 |l curren|t) "....|
|00003010| c0 0c 3f ad 81 0d 23 88 | 09 29 87 22 20 5b 6e 69 |..?...#.|.)." [ni|
|00003020| 6c 20 69 73 77 69 74 63 | 68 62 2d 62 75 66 73 2d |l iswitc|hb-bufs-|
|00003030| 69 6e 2d 66 72 61 6d 65 | 20 77 61 6c 6b 2d 77 69 |in-frame| walk-wi|
|00003040| 6e 64 6f 77 73 20 69 73 | 77 69 74 63 68 62 2d 67 |ndows is|witchb-g|
|00003050| 65 74 2d 62 75 66 6e 61 | 6d 65 20 63 75 72 72 65 |et-bufna|me curre|
|00003060| 6e 74 20 69 73 77 69 74 | 63 68 62 2d 61 6c 6c 2d |nt iswit|chb-all-|
|00003070| 66 72 61 6d 65 73 5d 20 | 34 20 28 23 24 20 2e 20 |frames] |4 (#$ . |
|00003080| 31 32 30 31 36 29 5d 29 | 0a 23 40 37 31 20 55 73 |12016)])|.#@71 Us|
|00003090| 65 64 20 62 79 20 60 69 | 73 77 69 74 63 68 62 2d |ed by `i|switchb-|
|000030a0| 67 65 74 2d 62 75 66 66 | 65 72 73 2d 69 6e 2d 66 |get-buff|ers-in-f|
|000030b0| 72 61 6d 65 73 27 20 74 | 6f 20 77 61 6c 6b 20 74 |rames' t|o walk t|
|000030c0| 68 72 6f 75 67 68 20 61 | 6c 6c 20 77 69 6e 64 6f |hrough a|ll windo|
|000030d0| 77 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ws...(de|falias '|
|000030e0| 69 73 77 69 74 63 68 62 | 2d 67 65 74 2d 62 75 66 |iswitchb|-get-buf|
|000030f0| 6e 61 6d 65 20 23 5b 28 | 77 69 6e 29 20 22 c0 c1 |name #[(|win) "..|
|00003100| 5c 6e 21 21 89 1b 0c b6 | 3f ad 85 0b 0c 42 89 14 |\n!!....|?....B..|
|00003110| 29 87 22 20 5b 62 75 66 | 66 65 72 2d 6e 61 6d 65 |)." [buf|fer-name|
|00003120| 20 77 69 6e 64 6f 77 2d | 62 75 66 66 65 72 20 77 | window-|buffer w|
|00003130| 69 6e 20 62 75 66 20 69 | 73 77 69 74 63 68 62 2d |in buf i|switchb-|
|00003140| 62 75 66 73 2d 69 6e 2d | 66 72 61 6d 65 5d 20 34 |bufs-in-|frame] 4|
|00003150| 20 28 23 24 20 2e 20 31 | 32 34 33 30 29 5d 29 0a | (#$ . 1|2430)]).|
|00003160| 23 40 36 34 20 53 65 74 | 20 60 69 73 77 69 74 63 |#@64 Set| `iswitc|
|00003170| 68 62 2d 6d 61 74 63 68 | 65 73 27 20 74 6f 20 74 |hb-match|es' to t|
|00003180| 68 65 20 6c 69 73 74 20 | 6f 66 20 62 75 66 66 65 |he list |of buffe|
|00003190| 72 73 20 6d 61 74 63 68 | 69 6e 67 20 70 72 6f 6d |rs match|ing prom|
|000031a0| 70 74 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |pt...(de|falias '|
|000031b0| 69 73 77 69 74 63 68 62 | 2d 73 65 74 2d 6d 61 74 |iswitchb|-set-mat|
|000031c0| 63 68 65 73 20 23 5b 6e | 69 6c 20 22 08 ad 8b 09 |ches #[n|il "....|
|000031d0| 1a c3 0c 0d 5c 6e 23 29 | 89 16 06 87 22 20 5b 69 |....\n#)|...." [i|
|000031e0| 73 77 69 74 63 68 62 2d | 72 65 73 63 61 6e 20 69 |switchb-|rescan i|
|000031f0| 73 77 69 74 63 68 62 2d | 62 75 66 6c 69 73 74 20 |switchb-|buflist |
|00003200| 62 75 66 6c 69 73 74 20 | 69 73 77 69 74 63 68 62 |buflist |iswitchb|
|00003210| 2d 67 65 74 2d 6d 61 74 | 63 68 65 64 2d 62 75 66 |-get-mat|ched-buf|
|00003220| 66 65 72 73 20 69 73 77 | 69 74 63 68 62 2d 74 65 |fers isw|itchb-te|
|00003230| 78 74 20 69 73 77 69 74 | 63 68 62 2d 72 65 67 65 |xt iswit|chb-rege|
|00003240| 78 70 20 69 73 77 69 74 | 63 68 62 2d 6d 61 74 63 |xp iswit|chb-matc|
|00003250| 68 65 73 5d 20 34 20 28 | 23 24 20 2e 20 31 32 36 |hes] 4 (|#$ . 126|
|00003260| 34 35 29 5d 29 0a 23 40 | 31 34 35 20 52 65 74 75 |45)]).#@|145 Retu|
|00003270| 72 6e 20 20 62 75 66 66 | 65 72 73 20 6d 61 74 63 |rn buff|ers matc|
|00003280| 68 69 6e 67 20 52 45 47 | 45 58 50 2e 0a 49 66 20 |hing REG|EXP..If |
|00003290| 53 54 52 49 4e 47 2d 46 | 4f 52 4d 41 54 20 69 73 |STRING-F|ORMAT is|
|000032a0| 20 6e 6f 6e 2d 6e 69 6c | 2c 20 63 6f 6e 73 69 64 | non-nil|, consid|
|000032b0| 65 72 20 52 45 47 45 58 | 50 20 61 73 20 73 74 72 |er REGEX|P as str|
|000032c0| 69 6e 67 2e 0a 42 55 46 | 46 45 52 2d 4c 49 53 54 |ing..BUF|FER-LIST|
|000032d0| 20 63 61 6e 20 62 65 20 | 6c 69 73 74 20 6f 66 20 | can be |list of |
|000032e0| 62 75 66 66 65 72 73 20 | 6f 72 20 6c 69 73 74 20 |buffers |or list |
|000032f0| 6f 66 20 73 74 72 69 6e | 67 73 2e 1f 0a 28 64 65 |of strin|gs...(de|
|00003300| 66 61 6c 69 61 73 20 27 | 69 73 77 69 74 63 68 62 |falias '|iswitchb|
|00003310| 2d 67 65 74 2d 6d 61 74 | 63 68 65 64 2d 62 75 66 |-get-mat|ched-buf|
|00003320| 66 65 72 73 20 23 5b 28 | 72 65 67 65 78 70 20 26 |fers #[(|regexp &|
|00003330| 6f 70 74 69 6f 6e 61 6c | 20 73 74 72 69 6e 67 2d |optional| string-|
|00003340| 66 6f 72 6d 61 74 20 62 | 75 66 66 65 72 2d 6c 69 |format b|uffer-li|
|00003350| 73 74 29 20 22 08 19 c2 | 0b 21 89 1c 40 3b 1d c6 |st) "...|.!..@;..|
|00003360| 1e 07 c6 1e 08 c9 ca 0c | 5c 22 88 0e 08 2d 87 22 |........|\"...-."|
|00003370| 20 5b 69 73 77 69 74 63 | 68 62 2d 63 61 73 65 20 | [iswitc|hb-case |
|00003380| 63 61 73 65 2d 66 6f 6c | 64 2d 73 65 61 72 63 68 |case-fol|d-search|
|00003390| 20 72 65 76 65 72 73 65 | 20 62 75 66 66 65 72 2d | reverse| buffer-|
|000033a0| 6c 69 73 74 20 6c 69 73 | 74 20 64 6f 2d 73 74 72 |list lis|t do-str|
|000033b0| 69 6e 67 20 6e 69 6c 20 | 6e 61 6d 65 20 72 65 74 |ing nil |name ret|
|000033c0| 20 6d 61 70 63 61 72 20 | 23 5b 28 78 29 20 22 08 | mapcar |#[(x) ".|
|000033d0| ab 84 09 12 aa 84 c3 09 | 21 12 0c ab 87 c5 0e 06 |........|!.......|
|000033e0| 5c 6e 5c 22 ac 8d 0c 3f | ad 90 c5 c7 0e 06 21 5c |\n\"...?|......!\|
|000033f0| 6e 5c 22 ad 87 5c 6e 0e | 08 42 89 16 08 87 22 20 |n\"..\n.|.B...." |
|00003400| 5b 64 6f 2d 73 74 72 69 | 6e 67 20 78 20 6e 61 6d |[do-stri|ng x nam|
|00003410| 65 20 62 75 66 66 65 72 | 2d 6e 61 6d 65 20 73 74 |e buffer|-name st|
|00003420| 72 69 6e 67 2d 66 6f 72 | 6d 61 74 20 73 74 72 69 |ring-for|mat stri|
|00003430| 6e 67 2d 6d 61 74 63 68 | 20 72 65 67 65 78 70 20 |ng-match| regexp |
|00003440| 72 65 67 65 78 70 2d 71 | 75 6f 74 65 20 72 65 74 |regexp-q|uote ret|
|00003450| 5d 20 33 5d 5d 20 34 20 | 28 23 24 20 2e 20 31 32 |] 3]] 4 |(#$ . 12|
|00003460| 39 30 38 29 5d 29 0a 23 | 40 35 31 20 52 65 74 75 |908)]).#|@51 Retu|
|00003470| 72 6e 20 74 20 69 66 20 | 74 68 65 20 62 75 66 66 |rn t if |the buff|
|00003480| 65 72 20 42 55 46 4e 41 | 4d 45 20 73 68 6f 75 6c |er BUFNA|ME shoul|
|00003490| 64 20 62 65 20 69 67 6e | 6f 72 65 64 2e 1f 0a 28 |d be ign|ored...(|
|000034a0| 64 65 66 61 6c 69 61 73 | 20 27 69 73 77 69 74 63 |defalias| 'iswitc|
|000034b0| 68 62 2d 69 67 6e 6f 72 | 65 2d 62 75 66 66 65 72 |hb-ignor|e-buffer|
|000034c0| 6e 61 6d 65 2d 70 20 23 | 5b 28 62 75 66 6e 61 6d |name-p #|[(bufnam|
|000034d0| 65 29 20 22 c0 20 09 c2 | 89 1b 1c 1d 1e 06 0d ab |e) ". ..|........|
|000034e0| a9 0d 40 89 13 3b ab 8d | c7 0b 0e 08 5c 22 ab 95 |..@..;..|....\"..|
|000034f0| c9 14 c2 15 aa 8f ca 0b | 21 ab 8a 0b 0e 08 21 ab |........|!.....!.|
|00003500| 84 c9 14 c2 15 0d 41 89 | 15 ac 57 cb 0e 06 21 88 |......A.|..W...!.|
|00003510| 0c 2c 87 22 20 5b 6d 61 | 74 63 68 2d 64 61 74 61 |.,." [ma|tch-data|
|00003520| 20 69 73 77 69 74 63 68 | 62 2d 62 75 66 66 65 72 | iswitch|b-buffer|
|00003530| 2d 69 67 6e 6f 72 65 20 | 6e 69 6c 20 6e 65 78 74 |-ignore |nil next|
|00003540| 73 74 72 20 69 67 6e 6f | 72 65 70 20 72 65 2d 6c |str igno|rep re-l|
|00003550| 69 73 74 20 64 61 74 61 | 20 73 74 72 69 6e 67 2d |ist data| string-|
|00003560| 6d 61 74 63 68 20 62 75 | 66 6e 61 6d 65 20 74 20 |match bu|fname t |
|00003570| 66 62 6f 75 6e 64 70 20 | 73 74 6f 72 65 2d 6d 61 |fboundp |store-ma|
|00003580| 74 63 68 2d 64 61 74 61 | 5d 20 35 20 28 23 24 20 |tch-data|] 5 (#$ |
|00003590| 2e 20 31 33 34 32 30 29 | 5d 29 0a 23 40 31 33 36 |. 13420)|]).#@136|
|000035a0| 20 52 65 74 75 72 6e 20 | 70 61 72 74 20 6f 66 20 | Return |part of |
|000035b0| 57 4f 52 44 20 62 65 66 | 6f 72 65 20 31 73 74 20 |WORD bef|ore 1st |
|000035c0| 6d 61 74 63 68 20 74 6f | 20 60 69 73 77 69 74 63 |match to| `iswitc|
|000035d0| 68 62 2d 63 68 61 6e 67 | 65 2d 77 6f 72 64 2d 73 |hb-chang|e-word-s|
|000035e0| 75 62 27 2e 0a 49 66 20 | 60 69 73 77 69 74 63 68 |ub'..If |`iswitch|
|000035f0| 62 2d 63 68 61 6e 67 65 | 2d 77 6f 72 64 2d 73 75 |b-change|-word-su|
|00003600| 62 27 20 63 61 6e 6e 6f | 74 20 62 65 20 66 6f 75 |b' canno|t be fou|
|00003610| 6e 64 20 69 6e 20 57 4f | 52 44 2c 20 72 65 74 75 |nd in WO|RD, retu|
|00003620| 72 6e 20 6e 69 6c 2e 1f | 0a 28 64 65 66 61 6c 69 |rn nil..|.(defali|
|00003630| 61 73 20 27 69 73 77 69 | 74 63 68 62 2d 77 6f 72 |as 'iswi|tchb-wor|
|00003640| 64 2d 6d 61 74 63 68 69 | 6e 67 2d 73 75 62 73 74 |d-matchi|ng-subst|
|00003650| 72 69 6e 67 20 23 5b 28 | 77 6f 72 64 29 20 22 08 |ring #[(|word) ".|
|00003660| 19 c2 0b 0c 5c 22 89 1d | ad 84 0c 0d c6 4f 2a 87 |....\"..|.....O*.|
|00003670| 22 20 5b 69 73 77 69 74 | 63 68 62 2d 63 61 73 65 |" [iswit|chb-case|
|00003680| 20 63 61 73 65 2d 66 6f | 6c 64 2d 73 65 61 72 63 | case-fo|ld-searc|
|00003690| 68 20 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 69 |h string|-match i|
|000036a0| 73 77 69 74 63 68 62 2d | 63 68 61 6e 67 65 2d 77 |switchb-|change-w|
|000036b0| 6f 72 64 2d 73 75 62 20 | 77 6f 72 64 20 6d 20 6e |ord-sub |word m n|
|000036c0| 69 6c 5d 20 34 20 28 23 | 24 20 2e 20 31 33 37 32 |il] 4 (#|$ . 1372|
|000036d0| 39 29 5d 29 0a 23 40 36 | 31 20 52 65 74 75 72 6e |9)]).#@6|1 Return|
|000036e0| 20 63 6f 6d 6d 6f 6e 20 | 73 74 72 69 6e 67 20 66 | common |string f|
|000036f0| 6f 6c 6c 6f 77 69 6e 67 | 20 53 55 42 53 20 69 6e |ollowing| SUBS in|
|00003700| 20 65 61 63 68 20 65 6c | 65 6d 65 6e 74 20 6f 66 | each el|ement of|
|00003710| 20 4c 49 53 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 | LIS...(|defalias|
|00003720| 20 27 69 73 77 69 74 63 | 68 62 2d 66 69 6e 64 2d | 'iswitc|hb-find-|
|00003730| 63 6f 6d 6d 6f 6e 2d 73 | 75 62 73 74 72 69 6e 67 |common-s|ubstring|
|00003740| 20 23 5b 28 6c 69 73 20 | 73 75 62 73 29 20 22 c0 | #[(lis |subs) ".|
|00003750| 89 89 19 1a 1b 0c ab 83 | 0d aa 83 c6 0d 21 11 c7 |........|.....!..|
|00003760| c8 0e 09 5c 22 13 ca c0 | 0b 5c 22 13 c7 cb 0b 5c |...\"...|.\"....\|
|00003770| 22 12 0e 0c 1e 0d ce 0d | 5c 6e 5c 22 2c 87 22 20 |".......|\n\",." |
|00003780| 5b 6e 69 6c 20 69 73 77 | 69 74 63 68 62 2d 63 68 |[nil isw|itchb-ch|
|00003790| 61 6e 67 65 2d 77 6f 72 | 64 2d 73 75 62 20 61 6c |ange-wor|d-sub al|
|000037a0| 69 73 74 20 72 65 73 20 | 69 73 77 69 74 63 68 62 |ist res |iswitchb|
|000037b0| 2d 72 65 67 65 78 70 20 | 73 75 62 73 20 72 65 67 |-regexp |subs reg|
|000037c0| 65 78 70 2d 71 75 6f 74 | 65 20 6d 61 70 63 61 72 |exp-quot|e mapcar|
|000037d0| 20 69 73 77 69 74 63 68 | 62 2d 77 6f 72 64 2d 6d | iswitch|b-word-m|
|000037e0| 61 74 63 68 69 6e 67 2d | 73 75 62 73 74 72 69 6e |atching-|substrin|
|000037f0| 67 20 6c 69 73 20 64 65 | 6c 71 20 69 73 77 69 74 |g lis de|lq iswit|
|00003800| 63 68 62 2d 6d 61 6b 65 | 61 6c 69 73 74 20 69 73 |chb-make|alist is|
|00003810| 77 69 74 63 68 62 2d 63 | 61 73 65 20 63 6f 6d 70 |witchb-c|ase comp|
|00003820| 6c 65 74 69 6f 6e 2d 69 | 67 6e 6f 72 65 2d 63 61 |letion-i|gnore-ca|
|00003830| 73 65 20 74 72 79 2d 63 | 6f 6d 70 6c 65 74 69 6f |se try-c|ompletio|
|00003840| 6e 5d 20 33 20 28 23 24 | 20 2e 20 31 34 30 34 32 |n] 3 (#$| . 14042|
|00003850| 29 5d 29 0a 23 40 33 31 | 20 52 65 74 75 72 6e 20 |)]).#@31| Return |
|00003860| 64 6f 74 74 65 64 20 70 | 61 69 72 20 28 52 45 53 |dotted p|air (RES|
|00003870| 20 2e 20 31 29 2e 1f 0a | 28 64 65 66 61 6c 69 61 | . 1)...|(defalia|
|00003880| 73 20 27 69 73 77 69 74 | 63 68 62 2d 6d 61 6b 65 |s 'iswit|chb-make|
|00003890| 61 6c 69 73 74 20 23 5b | 28 72 65 73 29 20 22 08 |alist #[|(res) ".|
|000038a0| c1 42 87 22 20 5b 72 65 | 73 20 31 5d 20 32 20 28 |.B." [re|s 1] 2 (|
|000038b0| 23 24 20 2e 20 31 34 34 | 32 35 29 5d 29 0a 23 40 |#$ . 144|25)]).#@|
|000038c0| 31 31 34 20 44 65 73 74 | 72 75 63 74 69 76 65 6c |114 Dest|ructivel|
|000038d0| 79 20 72 65 6d 6f 76 65 | 73 20 74 68 65 20 6c 61 |y remove|s the la|
|000038e0| 73 74 20 65 6c 65 6d 65 | 6e 74 20 66 72 6f 6d 20 |st eleme|nt from |
|000038f0| 4c 49 53 2e 0a 52 65 74 | 75 72 6e 20 74 68 65 20 |LIS..Ret|urn the |
|00003900| 6d 6f 64 69 66 69 65 64 | 20 6c 69 73 74 20 77 69 |modified| list wi|
|00003910| 74 68 20 74 68 65 20 6c | 61 73 74 20 65 6c 65 6d |th the l|ast elem|
|00003920| 65 6e 74 20 70 72 65 70 | 65 6e 64 65 64 20 74 6f |ent prep|ended to|
|00003930| 20 69 74 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 | it...(d|efalias |
|00003940| 27 69 73 77 69 74 63 68 | 62 2d 72 6f 74 61 74 65 |'iswitch|b-rotate|
|00003950| 2d 6c 69 73 74 20 23 5b | 28 6c 69 73 29 20 22 08 |-list #[|(lis) ".|
|00003960| 47 c1 58 ab 82 08 87 08 | 89 1a 89 1b 41 3a ab 88 |G.X.....|....A:..|
|00003970| 0b 12 0b 41 89 13 aa 74 | 5c 6e c4 a1 88 0b 40 08 |...A...t|\n....@.|
|00003980| 2a 42 87 22 20 5b 6c 69 | 73 20 31 20 70 72 65 76 |*B." [li|s 1 prev|
|00003990| 20 6c 61 73 20 6e 69 6c | 5d 20 33 20 28 23 24 20 | las nil|] 3 (#$ |
|000039a0| 2e 20 31 34 35 33 32 29 | 5d 29 0a 23 40 36 31 20 |. 14532)|]).#@61 |
|000039b0| 53 68 6f 77 20 70 6f 73 | 73 69 62 6c 65 20 63 6f |Show pos|sible co|
|000039c0| 6d 70 6c 65 74 69 6f 6e | 73 20 69 6e 20 61 20 2a |mpletion|s in a *|
|000039d0| 42 75 66 66 65 72 20 43 | 6f 6d 70 6c 65 74 69 6f |Buffer C|ompletio|
|000039e0| 6e 73 2a 20 62 75 66 66 | 65 72 2e 1f 0a 28 64 65 |ns* buff|er...(de|
|000039f0| 66 61 6c 69 61 73 20 27 | 69 73 77 69 74 63 68 62 |falias '|iswitchb|
|00003a00| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 68 65 6c 70 |-complet|ion-help|
|00003a10| 20 23 5b 6e 69 6c 20 22 | c0 11 c0 1a c3 90 0c ab | #[nil "|........|
|00003a20| 92 c5 0e 06 ab 84 0e 06 | aa 82 0e 07 c8 c9 ca cb |........|........|
|00003a30| 25 aa 8c c5 0e 06 ab 84 | 0e 06 aa 82 0e 07 21 91 |%.......|......!.|
|00003a40| 29 87 22 20 5b 6e 69 6c | 20 69 73 77 69 74 63 68 |)." [nil| iswitch|
|00003a50| 62 2d 72 65 73 63 61 6e | 20 63 6f 6d 70 6c 65 74 |b-rescan| complet|
|00003a60| 69 6f 6e 2d 73 65 74 75 | 70 2d 68 6f 6f 6b 20 22 |ion-setu|p-hook "|
|00003a70| 2a 42 75 66 66 65 72 20 | 43 6f 6d 70 6c 65 74 69 |*Buffer |Completi|
|00003a80| 6f 6e 73 2a 22 20 69 73 | 77 69 74 63 68 62 2d 78 |ons*" is|witchb-x|
|00003a90| 65 6d 61 63 73 20 64 69 | 73 70 6c 61 79 2d 63 6f |emacs di|splay-co|
|00003aa0| 6d 70 6c 65 74 69 6f 6e | 2d 6c 69 73 74 20 69 73 |mpletion|-list is|
|00003ab0| 77 69 74 63 68 62 2d 6d | 61 74 63 68 65 73 20 69 |witchb-m|atches i|
|00003ac0| 73 77 69 74 63 68 62 2d | 62 75 66 6c 69 73 74 20 |switchb-|buflist |
|00003ad0| 3a 68 65 6c 70 2d 73 74 | 72 69 6e 67 20 22 69 73 |:help-st|ring "is|
|00003ae0| 77 69 74 63 68 62 20 22 | 20 3a 61 63 74 69 76 61 |witchb "| :activa|
|00003af0| 74 65 2d 63 61 6c 6c 62 | 61 63 6b 20 28 6c 61 6d |te-callb|ack (lam|
|00003b00| 62 64 61 20 28 78 20 79 | 20 7a 29 20 28 6d 65 73 |bda (x y| z) (mes|
|00003b10| 73 61 67 65 20 22 64 6f | 65 73 6e 74 20 77 6f 72 |sage "do|esnt wor|
|00003b20| 6b 20 79 65 74 2c 20 73 | 6f 72 72 79 21 22 29 29 |k yet, s|orry!"))|
|00003b30| 5d 20 37 20 28 23 24 20 | 2e 20 31 34 37 36 38 29 |] 7 (#$ |. 14768)|
|00003b40| 20 6e 69 6c 5d 29 0a 23 | 40 35 32 20 4b 69 6c 6c | nil]).#|@52 Kill|
|00003b50| 20 74 68 65 20 62 75 66 | 66 65 72 20 61 74 20 74 | the buf|fer at t|
|00003b60| 68 65 20 68 65 61 64 20 | 6f 66 20 60 69 73 77 74 |he head |of `iswt|
|00003b70| 69 63 68 62 2d 6d 61 74 | 63 68 65 73 27 2e 1f 0a |ichb-mat|ches'...|
|00003b80| 28 64 65 66 61 6c 69 61 | 73 20 27 69 73 77 69 74 |(defalia|s 'iswit|
|00003b90| 63 68 62 2d 6b 69 6c 6c | 2d 62 75 66 66 65 72 20 |chb-kill|-buffer |
|00003ba0| 23 5b 6e 69 6c 20 22 c0 | c1 1a 1b 0c 40 89 12 ad |#[nil ".|....@...|
|00003bb0| 97 c5 5c 6e 21 88 c6 5c | 6e 21 ab 86 c0 89 16 07 |..\n!..\|n!......|
|00003bc0| aa 88 c8 5c 6e 0e 09 5c | 22 89 16 09 2a 87 22 20 |...\n..\|"...*." |
|00003bd0| 5b 74 20 6e 69 6c 20 62 | 75 66 20 65 6e 61 62 6c |[t nil b|uf enabl|
|00003be0| 65 2d 72 65 63 75 72 73 | 69 76 65 2d 6d 69 6e 69 |e-recurs|ive-mini|
|00003bf0| 62 75 66 66 65 72 73 20 | 69 73 77 69 74 63 68 62 |buffers |iswitchb|
|00003c00| 2d 6d 61 74 63 68 65 73 | 20 6b 69 6c 6c 2d 62 75 |-matches| kill-bu|
|00003c10| 66 66 65 72 20 67 65 74 | 2d 62 75 66 66 65 72 20 |ffer get|-buffer |
|00003c20| 69 73 77 69 74 63 68 62 | 2d 72 65 73 63 61 6e 20 |iswitchb|-rescan |
|00003c30| 64 65 6c 71 20 69 73 77 | 69 74 63 68 62 2d 62 75 |delq isw|itchb-bu|
|00003c40| 66 6c 69 73 74 5d 20 34 | 20 28 23 24 20 2e 20 31 |flist] 4| (#$ . 1|
|00003c50| 35 31 38 30 29 20 6e 69 | 6c 5d 29 0a 23 40 35 39 |5180) ni|l]).#@59|
|00003c60| 20 56 69 73 69 74 20 62 | 75 66 66 65 72 20 6e 61 | Visit b|uffer na|
|00003c70| 6d 65 64 20 42 55 46 46 | 45 52 20 61 63 63 6f 72 |med BUFF|ER accor|
|00003c80| 64 69 6e 67 20 74 6f 20 | 60 69 73 77 69 74 63 68 |ding to |`iswitch|
|00003c90| 62 2d 6d 65 74 68 6f 64 | 27 2e 1f 0a 28 64 65 66 |b-method|'...(def|
|00003ca0| 61 6c 69 61 73 20 27 69 | 73 77 69 74 63 68 62 2d |alias 'i|switchb-|
|00003cb0| 76 69 73 69 74 2d 62 75 | 66 66 65 72 20 23 5b 28 |visit-bu|ffer #[(|
|00003cc0| 62 75 66 66 65 72 29 20 | 22 c0 19 c0 1a 0b c4 61 |buffer) |"......a|
|00003cd0| ab 86 c5 0e 06 21 aa e9 | 0b c7 73 ab b7 c8 0e 06 |.....!..|..s.....|
|00003ce0| 21 89 11 ab a9 0b c9 61 | ac 85 ca cb 21 ab 9f cc |!......a|....!...|
|00003cf0| 09 21 12 cd 5c 6e 21 88 | ce 5c 6e 21 88 cf 09 21 |.!..\n!.|.\n!...!|
|00003d00| 88 0e 10 3f ad bd d1 d2 | 20 d3 20 53 d4 23 aa b3 |...?....| . S.#..|
|00003d10| c5 0e 06 21 aa ad 0b d5 | 61 ab 86 d6 0e 06 21 aa |...!....|a.....!.|
|00003d20| a2 0b d7 61 ab 86 d8 0e | 06 21 aa 97 0b d9 61 ad |...a....|.!....a.|
|00003d30| 92 da 0e 06 21 88 0e 10 | 3f ad 88 d1 d2 20 d3 20 |....!...|?.... . |
|00003d40| 53 d4 23 2a 87 22 20 5b | 6e 69 6c 20 77 69 6e 20 |S.#*." [|nil win |
|00003d50| 6e 65 77 66 72 61 6d 65 | 20 69 73 77 69 74 63 68 |newframe| iswitch|
|00003d60| 62 2d 6d 65 74 68 6f 64 | 20 73 61 6d 65 77 69 6e |b-method| samewin|
|00003d70| 64 6f 77 20 73 77 69 74 | 63 68 2d 74 6f 2d 62 75 |dow swit|ch-to-bu|
|00003d80| 66 66 65 72 20 62 75 66 | 66 65 72 20 28 61 6c 77 |ffer buf|fer (alw|
|00003d90| 61 79 73 2d 66 72 61 6d | 65 20 6d 61 79 62 65 2d |ays-fram|e maybe-|
|00003da0| 66 72 61 6d 65 29 20 69 | 73 77 69 74 63 68 62 2d |frame) i|switchb-|
|00003db0| 77 69 6e 64 6f 77 2d 62 | 75 66 66 65 72 2d 70 20 |window-b|uffer-p |
|00003dc0| 61 6c 77 61 79 73 2d 66 | 72 61 6d 65 20 79 2d 6f |always-f|rame y-o|
|00003dd0| 72 2d 6e 2d 70 20 22 4a | 75 6d 70 20 74 6f 20 66 |r-n-p "J|ump to f|
|00003de0| 72 61 6d 65 3f 20 22 20 | 77 69 6e 64 6f 77 2d 66 |rame? " |window-f|
|00003df0| 72 61 6d 65 20 72 61 69 | 73 65 2d 66 72 61 6d 65 |rame rai|se-frame|
|00003e00| 20 73 65 6c 65 63 74 2d | 66 72 61 6d 65 20 73 65 | select-|frame se|
|00003e10| 6c 65 63 74 2d 77 69 6e | 64 6f 77 20 69 73 77 69 |lect-win|dow iswi|
|00003e20| 74 63 68 62 2d 78 65 6d | 61 63 73 20 73 65 74 2d |tchb-xem|acs set-|
|00003e30| 6d 6f 75 73 65 2d 70 6f | 73 69 74 69 6f 6e 20 73 |mouse-po|sition s|
|00003e40| 65 6c 65 63 74 65 64 2d | 66 72 61 6d 65 20 66 72 |elected-|frame fr|
|00003e50| 61 6d 65 2d 77 69 64 74 | 68 20 30 20 6f 74 68 65 |ame-widt|h 0 othe|
|00003e60| 72 77 69 6e 64 6f 77 20 | 73 77 69 74 63 68 2d 74 |rwindow |switch-t|
|00003e70| 6f 2d 62 75 66 66 65 72 | 2d 6f 74 68 65 72 2d 77 |o-buffer|-other-w|
|00003e80| 69 6e 64 6f 77 20 64 69 | 73 70 6c 61 79 20 64 69 |indow di|splay di|
|00003e90| 73 70 6c 61 79 2d 62 75 | 66 66 65 72 20 6f 74 68 |splay-bu|ffer oth|
|00003ea0| 65 72 66 72 61 6d 65 20 | 73 77 69 74 63 68 2d 74 |erframe |switch-t|
|00003eb0| 6f 2d 62 75 66 66 65 72 | 2d 6f 74 68 65 72 2d 66 |o-buffer|-other-f|
|00003ec0| 72 61 6d 65 5d 20 34 20 | 28 23 24 20 2e 20 31 35 |rame] 4 |(#$ . 15|
|00003ed0| 34 35 37 29 5d 29 0a 23 | 40 35 32 20 50 6f 73 73 |457)]).#|@52 Poss|
|00003ee0| 69 62 6c 79 20 63 72 65 | 61 74 65 20 61 6e 64 20 |ibly cre|ate and |
|00003ef0| 76 69 73 69 74 20 61 20 | 6e 65 77 20 62 75 66 66 |visit a |new buff|
|00003f00| 65 72 20 63 61 6c 6c 65 | 64 20 42 55 46 2e 1f 0a |er calle|d BUF...|
|00003f10| 28 64 65 66 61 6c 69 61 | 73 20 27 69 73 77 69 74 |(defalia|s 'iswit|
|00003f20| 63 68 62 2d 70 6f 73 73 | 69 62 6c 65 2d 6e 65 77 |chb-poss|ible-new|
|00003f30| 2d 62 75 66 66 65 72 20 | 23 5b 28 62 75 66 29 20 |-buffer |#[(buf) |
|00003f40| 22 c0 19 5c 6e ab a2 0b | ab 8c 0b ab 9c c4 c5 c6 |"..\n...|........|
|00003f50| 0e 07 5c 22 21 ab 93 c8 | 0e 07 21 11 c9 ca 21 ab |..\"!...|..!...!.|
|00003f60| 84 ca 09 21 88 cb 09 21 | aa 87 cc c5 cd 0e 07 5c |...!...!|.......\|
|00003f70| 22 21 29 87 22 20 5b 6e | 69 6c 20 6e 65 77 62 75 |"!)." [n|il newbu|
|00003f80| 66 63 72 65 61 74 65 64 | 20 69 73 77 69 74 63 68 |fcreated| iswitch|
|00003f90| 62 2d 6e 65 77 62 75 66 | 66 65 72 20 69 73 77 69 |b-newbuf|fer iswi|
|00003fa0| 74 63 68 62 2d 70 72 6f | 6d 70 74 2d 6e 65 77 62 |tchb-pro|mpt-newb|
|00003fb0| 75 66 66 65 72 20 79 2d | 6f 72 2d 6e 2d 70 20 66 |uffer y-|or-n-p f|
|00003fc0| 6f 72 6d 61 74 20 22 4e | 6f 20 62 75 66 66 65 72 |ormat "N|o buffer|
|00003fd0| 20 6d 61 74 63 68 69 6e | 67 20 60 25 73 27 2c 20 | matchin|g `%s', |
|00003fe0| 63 72 65 61 74 65 20 6f | 6e 65 3f 20 22 20 62 75 |create o|ne? " bu|
|00003ff0| 66 20 67 65 74 2d 62 75 | 66 66 65 72 2d 63 72 65 |f get-bu|ffer-cre|
|00004000| 61 74 65 20 66 62 6f 75 | 6e 64 70 20 73 65 74 2d |ate fbou|ndp set-|
|00004010| 62 75 66 66 65 72 2d 6d | 61 6a 6f 72 2d 6d 6f 64 |buffer-m|ajor-mod|
|00004020| 65 20 69 73 77 69 74 63 | 68 62 2d 76 69 73 69 74 |e iswitc|hb-visit|
|00004030| 2d 62 75 66 66 65 72 20 | 6d 65 73 73 61 67 65 20 |-buffer |message |
|00004040| 22 6e 6f 20 62 75 66 66 | 65 72 20 6d 61 74 63 68 |"no buff|er match|
|00004050| 69 6e 67 20 60 25 73 27 | 22 5d 20 34 20 28 23 24 |ing `%s'|"] 4 (#$|
|00004060| 20 2e 20 31 36 30 39 32 | 29 5d 29 0a 23 40 31 31 | . 16092|)]).#@11|
|00004070| 37 20 52 65 74 75 72 6e | 20 77 69 6e 64 6f 77 20 |7 Return| window |
|00004080| 70 6f 69 6e 74 65 72 20 | 69 66 20 42 55 46 46 45 |pointer |if BUFFE|
|00004090| 52 20 69 73 20 76 69 73 | 69 62 6c 65 20 69 6e 20 |R is vis|ible in |
|000040a0| 61 6e 6f 74 68 65 72 20 | 66 72 61 6d 65 2e 0a 49 |another |frame..I|
|000040b0| 66 20 42 55 46 46 45 52 | 20 69 73 20 76 69 73 69 |f BUFFER| is visi|
|000040c0| 62 6c 65 20 69 6e 20 74 | 68 65 20 63 75 72 72 65 |ble in t|he curre|
|000040d0| 6e 74 20 66 72 61 6d 65 | 2c 20 72 65 74 75 72 6e |nt frame|, return|
|000040e0| 20 6e 69 6c 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 | nil...(|defalias|
|000040f0| 20 27 69 73 77 69 74 63 | 68 62 2d 77 69 6e 64 6f | 'iswitc|hb-windo|
|00004100| 77 2d 62 75 66 66 65 72 | 2d 70 20 23 5b 28 62 75 |w-buffer|-p #[(bu|
|00004110| 66 66 65 72 29 20 22 c0 | c1 21 1a 0b 5c 6e 73 3f |ffer) ".|.!..\ns?|
|00004120| ad 84 c4 0b c5 5c 22 29 | 87 22 20 5b 69 73 77 69 |.....\")|." [iswi|
|00004130| 74 63 68 62 2d 67 65 74 | 2d 62 75 66 66 65 72 73 |tchb-get|-buffers|
|00004140| 2d 69 6e 2d 66 72 61 6d | 65 73 20 63 75 72 72 65 |-in-fram|es curre|
|00004150| 6e 74 20 62 6c 69 73 74 | 20 62 75 66 66 65 72 20 |nt blist| buffer |
|00004160| 67 65 74 2d 62 75 66 66 | 65 72 2d 77 69 6e 64 6f |get-buff|er-windo|
|00004170| 77 20 76 69 73 69 62 6c | 65 5d 20 33 20 28 23 24 |w visibl|e] 3 (#$|
|00004180| 20 2e 20 31 36 34 39 38 | 29 20 6e 69 6c 5d 29 0a | . 16498|) nil]).|
|00004190| 23 40 31 30 33 20 53 65 | 74 20 75 70 20 64 65 66 |#@103 Se|t up def|
|000041a0| 61 75 6c 74 20 6b 65 79 | 62 69 6e 64 69 6e 67 73 |ault key|bindings|
|000041b0| 20 66 6f 72 20 60 69 73 | 77 69 74 63 68 62 2d 62 | for `is|witchb-b|
|000041c0| 75 66 66 65 72 27 2e 0a | 43 61 6c 6c 20 74 68 69 |uffer'..|Call thi|
|000041d0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 74 6f 20 6f 76 |s functi|on to ov|
|000041e0| 65 72 72 69 64 65 20 74 | 68 65 20 6e 6f 72 6d 61 |erride t|he norma|
|000041f0| 6c 20 62 69 6e 64 69 6e | 67 73 2e 1f 0a 28 64 65 |l bindin|gs...(de|
|00004200| 66 61 6c 69 61 73 20 27 | 69 73 77 69 74 63 68 62 |falias '|iswitchb|
|00004210| 2d 64 65 66 61 75 6c 74 | 2d 6b 65 79 62 69 6e 64 |-default|-keybind|
|00004220| 69 6e 67 73 20 23 5b 6e | 69 6c 20 22 c0 c1 c2 21 |ings #[n|il "...!|
|00004230| c3 5c 22 88 c0 c1 c4 21 | c5 5c 22 88 c0 c1 c6 21 |.\"....!|.\"....!|
|00004240| c7 5c 22 88 c0 c1 c8 21 | c9 5c 22 87 22 20 5b 67 |.\"....!|.\"." [g|
|00004250| 6c 6f 62 61 6c 2d 73 65 | 74 2d 6b 65 79 20 72 65 |lobal-se|t-key re|
|00004260| 61 64 2d 6b 62 64 2d 6d | 61 63 72 6f 20 22 43 2d |ad-kbd-m|acro "C-|
|00004270| 78 20 62 22 20 69 73 77 | 69 74 63 68 62 2d 62 75 |x b" isw|itchb-bu|
|00004280| 66 66 65 72 20 22 43 2d | 78 20 34 20 62 22 20 69 |ffer "C-|x 4 b" i|
|00004290| 73 77 69 74 63 68 62 2d | 62 75 66 66 65 72 2d 6f |switchb-|buffer-o|
|000042a0| 74 68 65 72 2d 77 69 6e | 64 6f 77 20 22 43 2d 78 |ther-win|dow "C-x|
|000042b0| 20 34 20 43 2d 6f 22 20 | 69 73 77 69 74 63 68 62 | 4 C-o" |iswitchb|
|000042c0| 2d 64 69 73 70 6c 61 79 | 2d 62 75 66 66 65 72 20 |-display|-buffer |
|000042d0| 22 43 2d 78 20 35 20 62 | 22 20 69 73 77 69 74 63 |"C-x 5 b|" iswitc|
|000042e0| 68 62 2d 62 75 66 66 65 | 72 2d 6f 74 68 65 72 2d |hb-buffe|r-other-|
|000042f0| 66 72 61 6d 65 5d 20 33 | 20 28 23 24 20 2e 20 31 |frame] 3| (#$ . 1|
|00004300| 36 37 39 30 29 20 6e 69 | 6c 5d 29 0a 23 40 33 31 |6790) ni|l]).#@31|
|00004310| 37 20 53 77 69 74 63 68 | 20 74 6f 20 61 6e 6f 74 |7 Switch| to anot|
|00004320| 68 65 72 20 62 75 66 66 | 65 72 2e 0a 0a 54 68 65 |her buff|er...The|
|00004330| 20 62 75 66 66 65 72 20 | 6e 61 6d 65 20 69 73 20 | buffer |name is |
|00004340| 73 65 6c 65 63 74 65 64 | 20 69 6e 74 65 72 61 63 |selected| interac|
|00004350| 74 69 76 65 6c 79 20 62 | 79 20 74 79 70 69 6e 67 |tively b|y typing|
|00004360| 20 61 20 73 75 62 73 74 | 72 69 6e 67 2e 20 20 54 | a subst|ring. T|
|00004370| 68 65 0a 62 75 66 66 65 | 72 20 69 73 20 64 69 73 |he.buffe|r is dis|
|00004380| 70 6c 61 79 65 64 20 61 | 63 63 6f 72 64 69 6e 67 |played a|ccording|
|00004390| 20 74 6f 20 60 69 73 77 | 69 74 63 68 62 2d 64 65 | to `isw|itchb-de|
|000043a0| 66 61 75 6c 74 2d 6d 65 | 74 68 6f 64 27 20 2d 2d |fault-me|thod' --|
|000043b0| 20 74 68 65 0a 64 65 66 | 61 75 6c 74 20 69 73 20 | the.def|ault is |
|000043c0| 74 6f 20 73 68 6f 77 20 | 69 74 20 69 6e 20 74 68 |to show |it in th|
|000043d0| 65 20 73 61 6d 65 20 77 | 69 6e 64 6f 77 2c 20 75 |e same w|indow, u|
|000043e0| 6e 6c 65 73 73 20 69 74 | 20 69 73 20 61 6c 72 65 |nless it| is alre|
|000043f0| 61 64 79 20 76 69 73 69 | 62 6c 65 0a 69 6e 20 61 |ady visi|ble.in a|
|00004400| 6e 6f 74 68 65 72 20 66 | 72 61 6d 65 2e 0a 46 6f |nother f|rame..Fo|
|00004410| 72 20 64 65 74 61 69 6c | 73 20 6f 66 20 6b 65 79 |r detail|s of key|
|00004420| 62 69 6e 64 69 6e 67 73 | 2c 20 64 6f 20 60 5c 5b |bindings|, do `\[|
|00004430| 64 65 73 63 72 69 62 65 | 2d 66 75 6e 63 74 69 6f |describe|-functio|
|00004440| 6e 5d 20 69 73 77 69 74 | 63 68 62 27 2e 1f 0a 28 |n] iswit|chb'...(|
|00004450| 64 65 66 61 6c 69 61 73 | 20 27 69 73 77 69 74 63 |defalias| 'iswitc|
|00004460| 68 62 2d 62 75 66 66 65 | 72 20 23 5b 6e 69 6c 20 |hb-buffe|r #[nil |
|00004470| 22 08 11 c2 20 87 22 20 | 5b 69 73 77 69 74 63 68 |"... ." |[iswitch|
|00004480| 62 2d 64 65 66 61 75 6c | 74 2d 6d 65 74 68 6f 64 |b-defaul|t-method|
|00004490| 20 69 73 77 69 74 63 68 | 62 2d 6d 65 74 68 6f 64 | iswitch|b-method|
|000044a0| 20 69 73 77 69 74 63 68 | 62 2d 65 6e 74 72 79 5d | iswitch|b-entry]|
|000044b0| 20 31 20 28 23 24 20 2e | 20 31 37 31 37 30 29 20 | 1 (#$ .| 17170) |
|000044c0| 6e 69 6c 5d 29 0a 23 40 | 31 38 36 20 53 77 69 74 |nil]).#@|186 Swit|
|000044d0| 63 68 20 74 6f 20 61 6e | 6f 74 68 65 72 20 62 75 |ch to an|other bu|
|000044e0| 66 66 65 72 20 61 6e 64 | 20 73 68 6f 77 20 69 74 |ffer and| show it|
|000044f0| 20 69 6e 20 61 6e 6f 74 | 68 65 72 20 77 69 6e 64 | in anot|her wind|
|00004500| 6f 77 2e 0a 54 68 65 20 | 62 75 66 66 65 72 20 6e |ow..The |buffer n|
|00004510| 61 6d 65 20 69 73 20 73 | 65 6c 65 63 74 65 64 20 |ame is s|elected |
|00004520| 69 6e 74 65 72 61 63 74 | 69 76 65 6c 79 20 62 79 |interact|ively by|
|00004530| 20 74 79 70 69 6e 67 20 | 61 20 73 75 62 73 74 72 | typing |a substr|
|00004540| 69 6e 67 2e 0a 46 6f 72 | 20 64 65 74 61 69 6c 73 |ing..For| details|
|00004550| 20 6f 66 20 6b 65 79 62 | 69 6e 64 69 6e 67 73 2c | of keyb|indings,|
|00004560| 20 64 6f 20 60 5c 5b 64 | 65 73 63 72 69 62 65 2d | do `\[d|escribe-|
|00004570| 66 75 6e 63 74 69 6f 6e | 5d 20 69 73 77 69 74 63 |function|] iswitc|
|00004580| 68 62 27 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |hb'...(d|efalias |
|00004590| 27 69 73 77 69 74 63 68 | 62 2d 62 75 66 66 65 72 |'iswitch|b-buffer|
|000045a0| 2d 6f 74 68 65 72 2d 77 | 69 6e 64 6f 77 20 23 5b |-other-w|indow #[|
|000045b0| 6e 69 6c 20 22 c0 11 c2 | 20 87 22 20 5b 6f 74 68 |nil "...| ." [oth|
|000045c0| 65 72 77 69 6e 64 6f 77 | 20 69 73 77 69 74 63 68 |erwindow| iswitch|
|000045d0| 62 2d 6d 65 74 68 6f 64 | 20 69 73 77 69 74 63 68 |b-method| iswitch|
|000045e0| 62 2d 65 6e 74 72 79 5d | 20 31 20 28 23 24 20 2e |b-entry]| 1 (#$ .|
|000045f0| 20 31 37 36 31 32 29 20 | 6e 69 6c 5d 29 0a 23 40 | 17612) |nil]).#@|
|00004600| 31 38 36 20 44 69 73 70 | 6c 61 79 20 61 20 62 75 |186 Disp|lay a bu|
|00004610| 66 66 65 72 20 69 6e 20 | 61 6e 6f 74 68 65 72 20 |ffer in |another |
|00004620| 77 69 6e 64 6f 77 20 62 | 75 74 20 64 6f 6e 27 74 |window b|ut don't|
|00004630| 20 73 65 6c 65 63 74 20 | 69 74 2e 0a 54 68 65 20 | select |it..The |
|00004640| 62 75 66 66 65 72 20 6e | 61 6d 65 20 69 73 20 73 |buffer n|ame is s|
|00004650| 65 6c 65 63 74 65 64 20 | 69 6e 74 65 72 61 63 74 |elected |interact|
|00004660| 69 76 65 6c 79 20 62 79 | 20 74 79 70 69 6e 67 20 |ively by| typing |
|00004670| 61 20 73 75 62 73 74 72 | 69 6e 67 2e 0a 46 6f 72 |a substr|ing..For|
|00004680| 20 64 65 74 61 69 6c 73 | 20 6f 66 20 6b 65 79 62 | details| of keyb|
|00004690| 69 6e 64 69 6e 67 73 2c | 20 64 6f 20 60 5c 5b 64 |indings,| do `\[d|
|000046a0| 65 73 63 72 69 62 65 2d | 66 75 6e 63 74 69 6f 6e |escribe-|function|
|000046b0| 5d 20 69 73 77 69 74 63 | 68 62 27 2e 1f 0a 28 64 |] iswitc|hb'...(d|
|000046c0| 65 66 61 6c 69 61 73 20 | 27 69 73 77 69 74 63 68 |efalias |'iswitch|
|000046d0| 62 2d 64 69 73 70 6c 61 | 79 2d 62 75 66 66 65 72 |b-displa|y-buffer|
|000046e0| 20 23 5b 6e 69 6c 20 22 | c0 11 c2 20 87 22 20 5b | #[nil "|... ." [|
|000046f0| 64 69 73 70 6c 61 79 20 | 69 73 77 69 74 63 68 62 |display |iswitchb|
|00004700| 2d 6d 65 74 68 6f 64 20 | 69 73 77 69 74 63 68 62 |-method |iswitchb|
|00004710| 2d 65 6e 74 72 79 5d 20 | 31 20 28 23 24 20 2e 20 |-entry] |1 (#$ . |
|00004720| 31 37 39 32 34 29 20 6e | 69 6c 5d 29 0a 23 40 31 |17924) n|il]).#@1|
|00004730| 38 35 20 53 77 69 74 63 | 68 20 74 6f 20 61 6e 6f |85 Switc|h to ano|
|00004740| 74 68 65 72 20 62 75 66 | 66 65 72 20 61 6e 64 20 |ther buf|fer and |
|00004750| 73 68 6f 77 20 69 74 20 | 69 6e 20 61 6e 6f 74 68 |show it |in anoth|
|00004760| 65 72 20 66 72 61 6d 65 | 2e 0a 54 68 65 20 62 75 |er frame|..The bu|
|00004770| 66 66 65 72 20 6e 61 6d | 65 20 69 73 20 73 65 6c |ffer nam|e is sel|
|00004780| 65 63 74 65 64 20 69 6e | 74 65 72 61 63 74 69 76 |ected in|teractiv|
|00004790| 65 6c 79 20 62 79 20 74 | 79 70 69 6e 67 20 61 20 |ely by t|yping a |
|000047a0| 73 75 62 73 74 72 69 6e | 67 2e 0a 46 6f 72 20 64 |substrin|g..For d|
|000047b0| 65 74 61 69 6c 73 20 6f | 66 20 6b 65 79 62 69 6e |etails o|f keybin|
|000047c0| 64 69 6e 67 73 2c 20 64 | 6f 20 60 5c 5b 64 65 73 |dings, d|o `\[des|
|000047d0| 63 72 69 62 65 2d 66 75 | 6e 63 74 69 6f 6e 5d 20 |cribe-fu|nction] |
|000047e0| 69 73 77 69 74 63 68 62 | 27 2e 1f 0a 28 64 65 66 |iswitchb|'...(def|
|000047f0| 61 6c 69 61 73 20 27 69 | 73 77 69 74 63 68 62 2d |alias 'i|switchb-|
|00004800| 62 75 66 66 65 72 2d 6f | 74 68 65 72 2d 66 72 61 |buffer-o|ther-fra|
|00004810| 6d 65 20 23 5b 6e 69 6c | 20 22 c0 11 c2 20 87 22 |me #[nil| "... ."|
|00004820| 20 5b 6f 74 68 65 72 66 | 72 61 6d 65 20 69 73 77 | [otherf|rame isw|
|00004830| 69 74 63 68 62 2d 6d 65 | 74 68 6f 64 20 69 73 77 |itchb-me|thod isw|
|00004840| 69 74 63 68 62 2d 65 6e | 74 72 79 5d 20 31 20 28 |itchb-en|try] 1 (|
|00004850| 23 24 20 2e 20 31 38 32 | 32 37 29 20 6e 69 6c 5d |#$ . 182|27) nil]|
|00004860| 29 0a 23 40 35 31 20 53 | 69 6d 70 6c 79 20 66 61 |).#@51 S|imply fa|
|00004870| 6c 6c 20 69 6e 74 6f 20 | 60 69 73 77 69 74 63 68 |ll into |`iswitch|
|00004880| 62 27 20 2d 2d 20 74 68 | 65 20 6d 61 69 6e 20 66 |b' -- th|e main f|
|00004890| 75 6e 63 74 69 6f 6e 2e | 1f 0a 28 64 65 66 61 6c |unction.|..(defal|
|000048a0| 69 61 73 20 27 69 73 77 | 69 74 63 68 62 2d 65 6e |ias 'isw|itchb-en|
|000048b0| 74 72 79 20 23 5b 6e 69 | 6c 20 22 c0 20 87 22 20 |try #[ni|l ". ." |
|000048c0| 5b 69 73 77 69 74 63 68 | 62 5d 20 31 20 28 23 24 |[iswitch|b] 1 (#$|
|000048d0| 20 2e 20 31 38 35 33 35 | 29 5d 29 0a 23 40 31 33 | . 18535|)]).#@13|
|000048e0| 35 20 44 69 73 70 6c 61 | 79 20 64 65 66 61 75 6c |5 Displa|y defaul|
|000048f0| 74 20 62 75 66 66 65 72 | 20 77 68 65 6e 20 66 69 |t buffer| when fi|
|00004900| 72 73 74 20 65 6e 74 65 | 72 69 6e 67 20 6d 69 6e |rst ente|ring min|
|00004910| 69 62 75 66 66 65 72 2e | 0a 54 68 69 73 20 69 73 |ibuffer.|.This is|
|00004920| 20 61 20 68 61 63 6b 20 | 66 6f 72 20 58 45 6d 61 | a hack |for XEma|
|00004930| 63 73 2c 20 61 6e 64 20 | 73 68 6f 75 6c 64 20 72 |cs, and |should r|
|00004940| 65 61 6c 6c 79 20 62 65 | 20 68 61 6e 64 6c 65 64 |eally be| handled|
|00004950| 20 62 79 20 60 69 73 77 | 69 74 63 68 62 2d 65 78 | by `isw|itchb-ex|
|00004960| 68 69 62 69 74 27 2e 1f | 0a 28 64 65 66 61 6c 69 |hibit'..|.(defali|
|00004970| 61 73 20 27 69 73 77 69 | 74 63 68 62 2d 69 6e 69 |as 'iswi|tchb-ini|
|00004980| 74 2d 58 45 6d 61 63 73 | 2d 74 72 69 63 6b 20 23 |t-XEmacs|-trick #|
|00004990| 5b 6e 69 6c 20 22 c0 20 | ad 85 c1 20 88 65 62 87 |[nil ". |... .eb.|
|000049a0| 22 20 5b 69 73 77 69 74 | 63 68 62 2d 65 6e 74 72 |" [iswit|chb-entr|
|000049b0| 79 66 6e 2d 70 20 69 73 | 77 69 74 63 68 62 2d 65 |yfn-p is|witchb-e|
|000049c0| 78 68 69 62 69 74 5d 20 | 31 20 28 23 24 20 2e 20 |xhibit] |1 (#$ . |
|000049d0| 31 38 36 35 38 29 5d 29 | 0a 28 62 79 74 65 2d 63 |18658)])|.(byte-c|
|000049e0| 6f 64 65 20 22 08 ab 85 | c1 c2 c3 5c 22 88 c1 87 |ode "...|...\"...|
|000049f0| 22 20 5b 69 73 77 69 74 | 63 68 62 2d 78 65 6d 61 |" [iswit|chb-xema|
|00004a00| 63 73 20 61 64 64 2d 68 | 6f 6f 6b 20 69 73 77 69 |cs add-h|ook iswi|
|00004a10| 74 63 68 62 2d 6d 69 6e | 69 62 75 66 66 65 72 2d |tchb-min|ibuffer-|
|00004a20| 73 65 74 75 70 2d 68 6f | 6f 6b 20 69 73 77 69 74 |setup-ho|ok iswit|
|00004a30| 63 68 62 2d 69 6e 69 74 | 2d 58 45 6d 61 63 73 2d |chb-init|-XEmacs-|
|00004a40| 74 72 69 63 6b 5d 20 33 | 29 0a 23 40 34 33 20 42 |trick] 3|).#@43 B|
|00004a50| 69 6e 64 20 62 61 63 6b | 73 70 61 63 65 20 74 6f |ind back|space to|
|00004a60| 20 60 62 61 63 6b 77 61 | 72 64 2d 64 65 6c 65 74 | `backwa|rd-delet|
|00004a70| 65 2d 63 68 61 72 27 2e | 1f 0a 28 64 65 66 61 6c |e-char'.|..(defal|
|00004a80| 69 61 73 20 27 69 73 77 | 69 74 63 68 62 2d 78 65 |ias 'isw|itchb-xe|
|00004a90| 6d 61 63 73 2d 62 61 63 | 6b 73 70 61 63 65 6b 65 |macs-bac|kspaceke|
|00004aa0| 79 20 23 5b 6e 69 6c 20 | 22 c0 09 c2 c3 23 88 c0 |y #[nil |"....#..|
|00004ab0| 09 c4 c5 23 87 22 20 5b | 64 65 66 69 6e 65 2d 6b |...#." [|define-k|
|00004ac0| 65 79 20 69 73 77 69 74 | 63 68 62 2d 6d 6f 64 65 |ey iswit|chb-mode|
|00004ad0| 2d 6d 61 70 20 5b 62 61 | 63 6b 73 70 61 63 65 5d |-map [ba|ckspace]|
|00004ae0| 20 62 61 63 6b 77 61 72 | 64 2d 64 65 6c 65 74 65 | backwar|d-delete|
|00004af0| 2d 63 68 61 72 20 5b 28 | 6d 65 74 61 20 62 61 63 |-char [(|meta bac|
|00004b00| 6b 73 70 61 63 65 29 5d | 20 62 61 63 6b 77 61 72 |kspace)]| backwar|
|00004b10| 64 2d 6b 69 6c 6c 2d 77 | 6f 72 64 5d 20 34 20 28 |d-kill-w|ord] 4 (|
|00004b20| 23 24 20 2e 20 31 39 30 | 32 33 29 5d 29 0a 28 62 |#$ . 190|23)]).(b|
|00004b30| 79 74 65 2d 63 6f 64 65 | 20 22 08 ab 85 c1 c2 c3 |yte-code| "......|
|00004b40| 5c 22 88 c1 87 22 20 5b | 69 73 77 69 74 63 68 62 |\"..." [|iswitchb|
|00004b50| 2d 78 65 6d 61 63 73 20 | 61 64 64 2d 68 6f 6f 6b |-xemacs |add-hook|
|00004b60| 20 69 73 77 69 74 63 68 | 62 2d 64 65 66 69 6e 65 | iswitch|b-define|
|00004b70| 2d 6d 6f 64 65 2d 6d 61 | 70 2d 68 6f 6f 6b 20 69 |-mode-ma|p-hook i|
|00004b80| 73 77 69 74 63 68 62 2d | 78 65 6d 61 63 73 2d 62 |switchb-|xemacs-b|
|00004b90| 61 63 6b 73 70 61 63 65 | 6b 65 79 5d 20 33 29 0a |ackspace|key] 3).|
|00004ba0| 23 40 32 35 32 20 46 69 | 6e 64 20 6d 61 74 63 68 |#@252 Fi|nd match|
|00004bb0| 69 6e 67 20 62 75 66 66 | 65 72 73 20 61 6e 64 20 |ing buff|ers and |
|00004bc0| 64 69 73 70 6c 61 79 20 | 61 20 6c 69 73 74 20 69 |display |a list i|
|00004bd0| 6e 20 74 68 65 20 6d 69 | 6e 69 62 75 66 66 65 72 |n the mi|nibuffer|
|00004be0| 2e 0a 43 6f 70 69 65 64 | 20 66 72 6f 6d 20 60 69 |..Copied| from `i|
|00004bf0| 63 6f 6d 70 6c 65 74 65 | 2d 65 78 68 69 62 69 74 |complete|-exhibit|
|00004c00| 27 20 77 69 74 68 20 74 | 77 6f 20 63 68 61 6e 67 |' with t|wo chang|
|00004c10| 65 73 3a 0a 31 2e 20 49 | 74 20 70 72 69 6e 74 73 |es:.1. I|t prints|
|00004c20| 20 61 20 64 65 66 61 75 | 6c 74 20 62 75 66 66 65 | a defau|lt buffe|
|00004c30| 72 20 6e 61 6d 65 20 77 | 68 65 6e 20 74 68 65 72 |r name w|hen ther|
|00004c40| 65 20 69 73 20 6e 6f 20 | 74 65 78 74 20 79 65 74 |e is no |text yet|
|00004c50| 20 65 6e 74 65 72 65 64 | 2e 0a 32 2e 20 49 74 20 | entered|..2. It |
|00004c60| 63 61 6c 6c 73 20 6d 79 | 20 63 6f 6d 70 6c 65 74 |calls my| complet|
|00004c70| 69 6f 6e 20 72 6f 75 74 | 69 6e 65 20 72 61 74 68 |ion rout|ine rath|
|00004c80| 65 72 20 74 68 61 6e 20 | 74 68 65 20 73 74 61 6e |er than |the stan|
|00004c90| 64 61 72 64 20 63 6f 6d | 70 6c 65 74 69 6f 6e 2e |dard com|pletion.|
|00004ca0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 69 73 77 |..(defal|ias 'isw|
|00004cb0| 69 74 63 68 62 2d 65 78 | 68 69 62 69 74 20 23 5b |itchb-ex|hibit #[|
|00004cc0| 6e 69 6c 20 22 08 ad ae | 65 64 7b c1 1a 1b 8a 64 |nil "...|ed{....d|
|00004cd0| 62 88 c4 c5 21 ac 84 c6 | c5 21 88 60 15 0b 16 07 |b...!...|.!.`....|
|00004ce0| c8 20 88 c1 16 09 ca 20 | 88 cb cc 0b 0e 0d 0e 0e |. ..... |........|
|00004cf0| 0e 0f 3f 24 21 2b 87 22 | 20 5b 69 73 77 69 74 63 |..?$!+."| [iswitc|
|00004d00| 68 62 2d 75 73 65 2d 6d | 79 63 6f 6d 70 6c 65 74 |hb-use-m|ycomplet|
|00004d10| 69 6f 6e 20 74 20 62 75 | 66 66 65 72 2d 75 6e 64 |ion t bu|ffer-und|
|00004d20| 6f 2d 6c 69 73 74 20 63 | 6f 6e 74 65 6e 74 73 20 |o-list c|ontents |
|00004d30| 62 6f 75 6e 64 70 20 69 | 73 77 69 74 63 68 62 2d |boundp i|switchb-|
|00004d40| 65 6f 69 6e 70 75 74 20 | 6d 61 6b 65 2d 6c 6f 63 |eoinput |make-loc|
|00004d50| 61 6c 2d 76 61 72 69 61 | 62 6c 65 20 69 73 77 69 |al-varia|ble iswi|
|00004d60| 74 63 68 62 2d 74 65 78 | 74 20 69 73 77 69 74 63 |tchb-tex|t iswitc|
|00004d70| 68 62 2d 73 65 74 2d 6d | 61 74 63 68 65 73 20 69 |hb-set-m|atches i|
|00004d80| 73 77 69 74 63 68 62 2d | 72 65 73 63 61 6e 20 69 |switchb-|rescan i|
|00004d90| 73 77 69 74 63 68 62 2d | 73 65 74 2d 63 6f 6d 6d |switchb-|set-comm|
|00004da0| 6f 6e 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 20 69 6e |on-compl|etion in|
|00004db0| 73 65 72 74 2d 73 74 72 | 69 6e 67 20 69 73 77 69 |sert-str|ing iswi|
|00004dc0| 74 63 68 62 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 73 |tchb-com|pletions|
|00004dd0| 20 6d 69 6e 69 62 75 66 | 66 65 72 2d 63 6f 6d 70 | minibuf|fer-comp|
|00004de0| 6c 65 74 69 6f 6e 2d 74 | 61 62 6c 65 20 6d 69 6e |letion-t|able min|
|00004df0| 69 62 75 66 66 65 72 2d | 63 6f 6d 70 6c 65 74 69 |ibuffer-|completi|
|00004e00| 6f 6e 2d 70 72 65 64 69 | 63 61 74 65 20 6d 69 6e |on-predi|cate min|
|00004e10| 69 62 75 66 66 65 72 2d | 63 6f 6d 70 6c 65 74 69 |ibuffer-|completi|
|00004e20| 6f 6e 2d 63 6f 6e 66 69 | 72 6d 5d 20 36 20 28 23 |on-confi|rm] 6 (#|
|00004e30| 24 20 2e 20 31 39 33 36 | 36 29 5d 29 0a 23 40 39 |$ . 1936|6)]).#@9|
|00004e40| 39 20 52 65 74 75 72 6e | 20 74 68 65 20 73 74 72 |9 Return| the str|
|00004e50| 69 6e 67 20 74 68 61 74 | 20 69 73 20 64 69 73 70 |ing that| is disp|
|00004e60| 6c 61 79 65 64 20 61 66 | 74 65 72 20 74 68 65 20 |layed af|ter the |
|00004e70| 75 73 65 72 27 73 20 74 | 65 78 74 2e 0a 4d 6f 64 |user's t|ext..Mod|
|00004e80| 69 66 69 65 64 20 66 72 | 6f 6d 20 60 69 63 6f 6d |ified fr|om `icom|
|00004e90| 70 6c 65 74 65 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |plete-co|mpletion|
|00004ea0| 73 27 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |s'...(de|falias '|
|00004eb0| 69 73 77 69 74 63 68 62 | 2d 63 6f 6d 70 6c 65 74 |iswitchb|-complet|
|00004ec0| 69 6f 6e 73 20 23 5b 28 | 6e 61 6d 65 20 63 61 6e |ions #[(|name can|
|00004ed0| 64 69 64 61 74 65 73 20 | 70 72 65 64 69 63 61 74 |didates |predicat|
|00004ee0| 65 20 72 65 71 75 69 72 | 65 2d 6d 61 74 63 68 29 |e requir|e-match)|
|00004ef0| 20 22 08 09 ab 83 c2 aa | 81 c3 09 ab 83 c4 aa 81 | "......|........|
|00004f00| c5 c6 c7 c8 1e 09 1e 5c | 6e 1e 0b 1e 0c 1e 0d 1e |.......\|n.......|
|00004f10| 0e 0e 0f ab ad 0e 0e ab | a9 0e 0e 40 16 09 d0 d1 |........|...@....|
|00004f20| 0e 09 5c 22 16 09 d2 d3 | 0e 09 47 d4 0e 0e 47 d5 |..\"....|..G...G.|
|00004f30| 61 ab 83 d6 aa 81 d7 0e | 09 25 88 0e 09 0e 0e 41 |a.......|.%.....A|
|00004f40| 42 16 0e 0e 0e ac 89 d0 | d8 0e 0d 0e 0c 23 aa fa |B.......|.....#..|
|00004f50| 0e 0e 41 ac 9e 0e 0e 40 | 47 0e 19 47 56 ab 8a 0e |..A....@|G..GV...|
|00004f60| 0d 0e 0e 40 0e 0c 51 aa | 81 da 0e 0f 3f ad 81 db |...@..Q.|....?...|
|00004f70| 50 aa d7 c8 1e 1c c8 47 | 1e 1d c8 1e 1e c8 1e 09 |P......G|........|
|00004f80| df e0 df e1 e2 e3 0e 0e | 5c 22 5c 22 41 5c 22 1e |........|\"\"A\".|
|00004f90| 24 0e 25 47 0e 19 47 56 | ad 8c 0e 0d 0e 25 0e 19 |$.%G..GV|.....%..|
|00004fa0| 47 c8 4f 0e 0c 51 0e 1d | 0e 19 47 56 ad 8c 0e 0d |G.O..Q..|..GV....|
|00004fb0| 0e 1c 0e 19 47 c8 4f 0e | 0c 51 0e 0b 0e 1e ab 86 |....G.O.|.Q......|
|00004fc0| e6 0e 24 50 aa 82 0e 24 | 0e 5c 6e b0 05 2d 2e 06 |..$P...$|.\n..-..|
|00004fd0| 87 22 20 5b 69 73 77 69 | 74 63 68 62 2d 6d 61 74 |." [iswi|tchb-mat|
|00004fe0| 63 68 65 73 20 72 65 71 | 75 69 72 65 2d 6d 61 74 |ches req|uire-mat|
|00004ff0| 63 68 20 22 28 22 20 22 | 5b 22 20 22 29 22 20 22 |ch "(" "|[" ")" "|
|00005000| 5d 22 20 22 7b 22 20 22 | 7d 22 20 6e 69 6c 20 66 |]" "{" "|}" nil f|
|00005010| 69 72 73 74 20 63 6c 6f | 73 65 2d 62 72 61 63 6b |irst clo|se-brack|
|00005020| 65 74 2d 70 72 6f 73 70 | 65 63 74 73 20 6f 70 65 |et-prosp|ects ope|
|00005030| 6e 2d 62 72 61 63 6b 65 | 74 2d 70 72 6f 73 70 65 |n-bracke|t-prospe|
|00005040| 63 74 73 20 63 6c 6f 73 | 65 2d 62 72 61 63 6b 65 |cts clos|e-bracke|
|00005050| 74 2d 64 65 74 65 72 6d | 69 6e 65 64 20 6f 70 65 |t-determ|ined ope|
|00005060| 6e 2d 62 72 61 63 6b 65 | 74 2d 64 65 74 65 72 6d |n-bracke|t-determ|
|00005070| 69 6e 65 64 20 63 6f 6d | 70 73 20 69 73 77 69 74 |ined com|ps iswit|
|00005080| 63 68 62 2d 75 73 65 2d | 66 6f 6e 74 73 20 66 6f |chb-use-|fonts fo|
|00005090| 72 6d 61 74 20 22 25 73 | 22 20 70 75 74 2d 74 65 |rmat "%s|" put-te|
|000050a0| 78 74 2d 70 72 6f 70 65 | 72 74 79 20 30 20 66 61 |xt-prope|rty 0 fa|
|000050b0| 63 65 20 31 20 66 6f 6e | 74 2d 6c 6f 63 6b 2d 63 |ce 1 fon|t-lock-c|
|000050c0| 6f 6d 6d 65 6e 74 2d 66 | 61 63 65 20 66 6f 6e 74 |omment-f|ace font|
|000050d0| 2d 6c 6f 63 6b 2d 66 75 | 6e 63 74 69 6f 6e 2d 6e |-lock-fu|nction-n|
|000050e0| 61 6d 65 2d 66 61 63 65 | 20 22 20 25 73 4e 6f 20 |ame-face| " %sNo |
|000050f0| 6d 61 74 63 68 25 73 22 | 20 6e 61 6d 65 20 22 22 |match%s"| name ""|
|00005100| 20 22 20 5b 4d 61 74 63 | 68 65 64 5d 22 20 6d 6f | " [Matc|hed]" mo|
|00005110| 73 74 20 6d 6f 73 74 2d | 6c 65 6e 20 6d 6f 73 74 |st most-|len most|
|00005120| 2d 69 73 2d 65 78 61 63 | 74 20 61 70 70 6c 79 20 |-is-exac|t apply |
|00005130| 63 6f 6e 63 61 74 20 6e | 63 6f 6e 63 20 6d 61 70 |concat n|conc map|
|00005140| 63 61 72 20 23 5b 28 63 | 6f 6d 29 20 22 08 47 09 |car #[(c|om) ".G.|
|00005150| 55 ab 84 c2 13 c4 87 c5 | 08 09 c4 4f 44 87 22 20 |U.......|...OD." |
|00005160| 5b 63 6f 6d 20 6d 6f 73 | 74 2d 6c 65 6e 20 74 20 |[com mos|t-len t |
|00005170| 6d 6f 73 74 2d 69 73 2d | 65 78 61 63 74 20 6e 69 |most-is-|exact ni|
|00005180| 6c 20 22 2c 22 5d 20 34 | 5d 20 61 6c 74 65 72 6e |l ","] 4|] altern|
|00005190| 61 74 69 76 65 73 20 69 | 73 77 69 74 63 68 62 2d |atives i|switchb-|
|000051a0| 63 6f 6d 6d 6f 6e 2d 6d | 61 74 63 68 2d 73 74 72 |common-m|atch-str|
|000051b0| 69 6e 67 20 22 2c 22 5d | 20 37 20 28 23 24 20 2e |ing ","]| 7 (#$ .|
|000051c0| 20 32 30 30 33 34 29 5d | 29 0a 23 40 38 39 20 53 | 20034)]|).#@89 S|
|000051d0| 65 74 20 75 70 20 6d 69 | 6e 69 62 75 66 66 65 72 |et up mi|nibuffer|
|000051e0| 20 66 6f 72 20 60 69 73 | 77 69 74 63 68 62 2d 62 | for `is|witchb-b|
|000051f0| 75 66 66 65 72 27 2e 0a | 43 6f 70 69 65 64 20 66 |uffer'..|Copied f|
|00005200| 72 6f 6d 20 60 69 63 6f | 6d 70 6c 65 74 65 2d 6d |rom `ico|mplete-m|
|00005210| 69 6e 69 62 75 66 66 65 | 72 2d 73 65 74 75 70 2d |inibuffe|r-setup-|
|00005220| 68 6f 6f 6b 27 2e 1f 0a | 28 64 65 66 61 6c 69 61 |hook'...|(defalia|
|00005230| 73 20 27 69 73 77 69 74 | 63 68 62 2d 6d 69 6e 69 |s 'iswit|chb-mini|
|00005240| 62 75 66 66 65 72 2d 73 | 65 74 75 70 20 23 5b 6e |buffer-s|etup #[n|
|00005250| 69 6c 20 22 c0 20 ad 9f | c1 c2 21 88 c3 12 c4 c5 |il ". ..|..!.....|
|00005260| 21 88 c6 c5 c7 c8 c3 24 | 88 c4 c9 21 88 c6 c9 ca |!......$|...!....|
|00005270| c8 c3 24 88 cb cc 21 87 | 22 20 5b 69 73 77 69 74 |..$...!.|" [iswit|
|00005280| 63 68 62 2d 65 6e 74 72 | 79 66 6e 2d 70 20 6d 61 |chb-entr|yfn-p ma|
|00005290| 6b 65 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ke-local|-variabl|
|000052a0| 65 20 69 73 77 69 74 63 | 68 62 2d 75 73 65 2d 6d |e iswitc|hb-use-m|
|000052b0| 79 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 74 20 6d 61 |ycomplet|ion t ma|
|000052c0| 6b 65 2d 6c 6f 63 61 6c | 2d 68 6f 6f 6b 20 70 72 |ke-local|-hook pr|
|000052d0| 65 2d 63 6f 6d 6d 61 6e | 64 2d 68 6f 6f 6b 20 61 |e-comman|d-hook a|
|000052e0| 64 64 2d 68 6f 6f 6b 20 | 69 73 77 69 74 63 68 62 |dd-hook |iswitchb|
|000052f0| 2d 70 72 65 2d 63 6f 6d | 6d 61 6e 64 20 6e 69 6c |-pre-com|mand nil|
|00005300| 20 70 6f 73 74 2d 63 6f | 6d 6d 61 6e 64 2d 68 6f | post-co|mmand-ho|
|00005310| 6f 6b 20 69 73 77 69 74 | 63 68 62 2d 70 6f 73 74 |ok iswit|chb-post|
|00005320| 2d 63 6f 6d 6d 61 6e 64 | 20 72 75 6e 2d 68 6f 6f |-command| run-hoo|
|00005330| 6b 73 20 69 73 77 69 74 | 63 68 62 2d 6d 69 6e 69 |ks iswit|chb-mini|
|00005340| 62 75 66 66 65 72 2d 73 | 65 74 75 70 2d 68 6f 6f |buffer-s|etup-hoo|
|00005350| 6b 5d 20 35 20 28 23 24 | 20 2e 20 32 30 39 34 33 |k] 5 (#$| . 20943|
|00005360| 29 5d 29 0a 23 40 34 32 | 20 52 75 6e 20 62 65 66 |)]).#@42| Run bef|
|00005370| 6f 72 65 20 63 6f 6d 6d | 61 6e 64 20 69 6e 20 60 |ore comm|and in `|
|00005380| 69 73 77 69 74 63 68 62 | 2d 62 75 66 66 65 72 27 |iswitchb|-buffer'|
|00005390| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 69 73 |...(defa|lias 'is|
|000053a0| 77 69 74 63 68 62 2d 70 | 72 65 2d 63 6f 6d 6d 61 |witchb-p|re-comma|
|000053b0| 6e 64 20 23 5b 6e 69 6c | 20 22 c0 20 87 22 20 5b |nd #[nil| ". ." [|
|000053c0| 69 73 77 69 74 63 68 62 | 2d 74 69 64 79 5d 20 31 |iswitchb|-tidy] 1|
|000053d0| 20 28 23 24 20 2e 20 32 | 31 33 35 33 29 5d 29 0a | (#$ . 2|1353)]).|
|000053e0| 23 40 34 31 20 52 75 6e | 20 61 66 74 65 72 20 63 |#@41 Run| after c|
|000053f0| 6f 6d 6d 61 6e 64 20 69 | 6e 20 60 69 73 77 69 74 |ommand i|n `iswit|
|00005400| 63 68 62 2d 62 75 66 66 | 65 72 27 2e 1f 0a 28 64 |chb-buff|er'...(d|
|00005410| 65 66 61 6c 69 61 73 20 | 27 69 73 77 69 74 63 68 |efalias |'iswitch|
|00005420| 62 2d 70 6f 73 74 2d 63 | 6f 6d 6d 61 6e 64 20 23 |b-post-c|ommand #|
|00005430| 5b 6e 69 6c 20 22 c0 20 | 87 22 20 5b 69 73 77 69 |[nil ". |." [iswi|
|00005440| 74 63 68 62 2d 65 78 68 | 69 62 69 74 5d 20 31 20 |tchb-exh|ibit] 1 |
|00005450| 28 23 24 20 2e 20 32 31 | 34 37 37 29 5d 29 0a 23 |(#$ . 21|477)]).#|
|00005460| 40 39 32 20 52 65 6d 6f | 76 65 20 63 6f 6d 70 6c |@92 Remo|ve compl|
|00005470| 65 74 69 6f 6e 73 20 64 | 69 73 70 6c 61 79 2c 20 |etions d|isplay, |
|00005480| 69 66 20 61 6e 79 2c 20 | 70 72 69 6f 72 20 74 6f |if any, |prior to|
|00005490| 20 6e 65 77 20 75 73 65 | 72 20 69 6e 70 75 74 2e | new use|r input.|
|000054a0| 0a 43 6f 70 69 65 64 20 | 66 72 6f 6d 20 60 69 63 |.Copied |from `ic|
|000054b0| 6f 6d 70 6c 65 74 65 2d | 74 69 64 79 27 2e 1f 0a |omplete-|tidy'...|
|000054c0| 28 64 65 66 61 6c 69 61 | 73 20 27 69 73 77 69 74 |(defalia|s 'iswit|
|000054d0| 63 68 62 2d 74 69 64 79 | 20 23 5b 6e 69 6c 20 22 |chb-tidy| #[nil "|
|000054e0| c0 c1 21 ab 93 09 ab 90 | 09 64 56 ab 84 64 89 11 |..!.....|.dV..d..|
|000054f0| 87 5c 6e 1a 09 64 7c 29 | 87 c3 c1 21 88 c4 89 11 |.\n..d|)|...!....|
|00005500| 87 22 20 5b 62 6f 75 6e | 64 70 20 69 73 77 69 74 |." [boun|dp iswit|
|00005510| 63 68 62 2d 65 6f 69 6e | 70 75 74 20 62 75 66 66 |chb-eoin|put buff|
|00005520| 65 72 2d 75 6e 64 6f 2d | 6c 69 73 74 20 6d 61 6b |er-undo-|list mak|
|00005530| 65 2d 6c 6f 63 61 6c 2d | 76 61 72 69 61 62 6c 65 |e-local-|variable|
|00005540| 20 31 5d 20 32 20 28 23 | 24 20 2e 20 32 31 36 30 | 1] 2 (#|$ . 2160|
|00005550| 34 29 5d 29 0a 23 40 37 | 32 20 52 65 74 75 72 6e |4)]).#@7|2 Return|
|00005560| 20 6e 6f 6e 2d 6e 69 6c | 20 69 66 20 60 74 68 69 | non-nil| if `thi|
|00005570| 73 2d 63 6f 6d 6d 61 6e | 64 27 20 73 68 6f 77 73 |s-comman|d' shows|
|00005580| 20 77 65 20 61 72 65 20 | 75 73 69 6e 67 20 60 69 | we are |using `i|
|00005590| 73 77 69 74 63 68 62 2d | 62 75 66 66 65 72 27 2e |switchb-|buffer'.|
|000055a0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 69 73 77 |..(defal|ias 'isw|
|000055b0| 69 74 63 68 62 2d 65 6e | 74 72 79 66 6e 2d 70 20 |itchb-en|tryfn-p |
|000055c0| 23 5b 6e 69 6c 20 22 08 | 39 ad 83 08 c1 73 87 22 |#[nil ".|9....s."|
|000055d0| 20 5b 74 68 69 73 2d 63 | 6f 6d 6d 61 6e 64 20 28 | [this-c|ommand (|
|000055e0| 69 73 77 69 74 63 68 62 | 2d 62 75 66 66 65 72 20 |iswitchb|-buffer |
|000055f0| 69 73 77 69 74 63 68 62 | 2d 62 75 66 66 65 72 2d |iswitchb|-buffer-|
|00005600| 6f 74 68 65 72 2d 66 72 | 61 6d 65 20 69 73 77 69 |other-fr|ame iswi|
|00005610| 74 63 68 62 2d 64 69 73 | 70 6c 61 79 2d 62 75 66 |tchb-dis|play-buf|
|00005620| 66 65 72 20 69 73 77 69 | 74 63 68 62 2d 62 75 66 |fer iswi|tchb-buf|
|00005630| 66 65 72 2d 6f 74 68 65 | 72 2d 77 69 6e 64 6f 77 |fer-othe|r-window|
|00005640| 29 5d 20 32 20 28 23 24 | 20 2e 20 32 31 38 35 30 |)] 2 (#$| . 21850|
|00005650| 29 5d 29 0a 23 40 32 31 | 36 20 4d 6f 76 65 20 74 |)]).#@21|6 Move t|
|00005660| 68 65 20 73 75 6d 6d 61 | 72 69 65 73 20 74 6f 20 |he summa|ries to |
|00005670| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 6c |the end |of the l|
|00005680| 69 73 74 2e 0a 54 68 69 | 73 20 69 73 20 61 6e 20 |ist..Thi|s is an |
|00005690| 65 78 61 6d 70 6c 65 20 | 66 75 6e 63 74 69 6f 6e |example |function|
|000056a0| 20 77 68 69 63 68 20 63 | 61 6e 20 62 65 20 68 6f | which c|an be ho|
|000056b0| 6f 6b 65 64 20 6f 6e 20 | 74 6f 0a 60 69 73 77 69 |oked on |to.`iswi|
|000056c0| 74 63 68 62 2d 6d 61 6b | 65 2d 62 75 66 6c 69 73 |tchb-mak|e-buflis|
|000056d0| 74 2d 68 6f 6f 6b 27 2e | 20 20 41 6e 79 20 62 75 |t-hook'.| Any bu|
|000056e0| 66 66 65 72 20 6d 61 74 | 63 68 69 6e 67 20 74 68 |ffer mat|ching th|
|000056f0| 65 20 72 65 67 65 78 70 | 73 0a 60 53 75 6d 6d 61 |e regexp|s.`Summa|
|00005700| 72 79 27 20 6f 72 20 60 | 6f 75 74 70 75 74 2a 24 |ry' or `|output*$|
|00005710| 27 61 72 65 20 70 75 74 | 20 74 6f 20 74 68 65 20 |'are put| to the |
|00005720| 65 6e 64 20 6f 66 20 74 | 68 65 20 6c 69 73 74 2e |end of t|he list.|
|00005730| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 69 73 77 |..(defal|ias 'isw|
|00005740| 69 74 63 68 62 2d 73 75 | 6d 6d 61 72 69 65 73 2d |itchb-su|mmaries-|
|00005750| 74 6f 2d 65 6e 64 20 23 | 5b 6e 69 6c 20 22 c0 c1 |to-end #|[nil "..|
|00005760| c2 c3 0c 5c 22 5c 22 1d | c6 0d 21 29 87 22 20 5b |...\"\".|..!)." [|
|00005770| 64 65 6c 71 20 6e 69 6c | 20 6d 61 70 63 61 72 20 |delq nil| mapcar |
|00005780| 23 5b 28 78 29 20 22 c0 | c1 5c 6e 5c 22 ac 86 c0 |#[(x) ".|.\n\"...|
|00005790| c3 5c 6e 5c 22 ad 81 5c | 6e 87 22 20 5b 73 74 72 |.\n\"..\|n." [str|
|000057a0| 69 6e 67 2d 6d 61 74 63 | 68 20 22 53 75 6d 6d 61 |ing-matc|h "Summa|
|000057b0| 72 79 22 20 78 20 22 6f | 75 74 70 75 74 5c 5c 2a |ry" x "o|utput\\*|
|000057c0| 24 22 5d 20 33 5d 20 62 | 75 66 6c 69 73 74 20 73 |$"] 3] b|uflist s|
|000057d0| 75 6d 6d 61 72 69 65 73 | 20 69 73 77 69 74 63 68 |ummaries| iswitch|
|000057e0| 62 2d 74 6f 2d 65 6e 64 | 5d 20 35 20 28 23 24 20 |b-to-end|] 5 (#$ |
|000057f0| 2e 20 32 32 31 30 36 29 | 5d 29 0a 28 62 79 74 65 |. 22106)|]).(byte|
|00005800| 2d 63 6f 64 65 20 22 c0 | c1 c2 5c 22 88 c3 c4 21 |-code ".|..\"...!|
|00005810| 87 22 20 5b 61 64 64 2d | 68 6f 6f 6b 20 6d 69 6e |." [add-|hook min|
|00005820| 69 62 75 66 66 65 72 2d | 73 65 74 75 70 2d 68 6f |ibuffer-|setup-ho|
|00005830| 6f 6b 20 69 73 77 69 74 | 63 68 62 2d 6d 69 6e 69 |ok iswit|chb-mini|
|00005840| 62 75 66 66 65 72 2d 73 | 65 74 75 70 20 70 72 6f |buffer-s|etup pro|
|00005850| 76 69 64 65 20 69 73 77 | 69 74 63 68 62 5d 20 33 |vide isw|itchb] 3|
|00005860| 29 0a | |). | |
+--------+-------------------------+-------------------------+--------+--------+